FOpenGLDynamicRHI::RHIMapStagingSurface

Override Hierarchy

FDynamicRHI::RHIMapStagingSurface()

FOpenGLDynamicRHI::RHIMapStagingSurface()

Syntax

virtual void RHIMapStagingSurface
(
    FTextureRHIParamRef Texture,
    void *& OutData,
    int32 & OutWidth,
    int32 & OutHeight
)

Remarks

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

References

Module

OpenGLDrv

Header

Runtime/OpenGLDrv/Public/OpenGLDrv.h

Source

Runtime/OpenGLDrv/Private/OpenGLRenderTarget.cpp