Navigation
API > API/Runtime > API/Runtime/RHI > API/Runtime/RHI/FDynamicRHI
Description
Watch out for OutData to be 0 (can happen on DXGI_ERROR_DEVICE_REMOVED), don't call RHIUnmapStagingSurface in that case.
| Name | RHIMapStagingSurface |
| Type | function |
| Header File | /Engine/Source/Runtime/RHI/Public/DynamicRHI.h |
| Include Path | #include "DynamicRHI.h" |
void RHIMapStagingSurface
(
FRHITexture * Texture,
FRHIGPUFence * Fence,
void *& OutData,
int32 & OutWidth,
int32 & OutHeight,
uint32 GPUIndex
)