FNullDynamicRHI::RHIMapStagingSurface

FlushType: Flush Immediate (seems wrong)

Windows
MacOS
Linux

Override Hierarchy

FDynamicRHI::RHIMapStagingSurface()

FNullDynamicRHI::RHIMapStagingSurface()

References

Module

NullDrv

Header

/Engine/Source/Runtime/NullDrv/Public/NullRHI.h

Include

#include "NullRHI.h"

Syntax

virtual 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