FDynamicRHI::RHIMapStagingSurface

FlushType: Flush Immediate (seems wrong)

Windows
MacOS
Linux

Override Hierarchy

References

Module

RHI

Header

/Engine/Source/Runtime/RHI/Public/DynamicRHI.h

Include

#include "DynamicRHI.h"

Syntax

void RHIMapStagingSurface
(
    FRHITexture * Texture,
    FRHIGPUFence * Fence,
    void *& OutData,
    int32 & OutWidth,
    int32 & OutHeight,
    uint32 GPUIndex
)

Remarks

Watch out for OutData to be 0 (can happen on DXGI_ERROR_DEVICE_REMOVED), don't call RHIUnmapStagingSurface in that case.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss