Navigation
Unreal Engine C++ API Reference > Runtime > RHI > FDynamicRHI > RHIReadSurfaceData
- FDynamicRHI::RHIReadSurfaceData()
- FVulkanDynamicRHI::RHIReadSurfaceData()
- FNullDynamicRHI::RHIReadSurfaceData()
- FOpenGLDynamicRHI::RHIReadSurfaceData()
References
Module | RHI |
Header | /Engine/Source/Runtime/RHI/Public/DynamicRHI.h |
Include | #include "DynamicRHI.h" |
void RHIReadSurfaceData
&40;
FRHITexture &42; Texture,
FIntRect Rect,
TArray< FColor > & OutData,
FReadSurfaceDataFlags InFlags
&41;
Remarks
Reads the contents of a texture to an output buffer (non MSAA and MSAA) and returns it as a FColor array. If the format or texture type is unsupported the OutData array will be size 0