FOpenGLDynamicRHI::RHIReadSurfaceData

Override Hierarchy

FDynamicRHI::RHIReadSurfaceData()

FOpenGLDynamicRHI::RHIReadSurfaceData()

Syntax

virtual void RHIReadSurfaceData
(
    FTextureRHIParamRef Texture,
    FIntRect Rect,
    TArray < FLinearColor > & OutData,
    FReadSurfaceDataFlags InFlags
)

Remarks

Default fallback; will not work for non-8-bit surfaces and it's extremely slow.

References

Module

OpenGLDrv

Header

Runtime/OpenGLDrv/Public/OpenGLDrv.h

Source

Runtime/OpenGLDrv/Private/OpenGLRenderTarget.cpp