Navigation
API > API/Runtime > API/Runtime/RHI > API/Runtime/RHI/FRHICommandListImmediate > API/Runtime/RHI/FRHICommandListImmediate/ReadSurfaceData
References
| Module | RHI |
| Header | /Engine/Source/Runtime/RHI/Public/RHICommandList.h |
| Include | #include "RHICommandList.h" |
void ReadSurfaceData
(
FRHITexture * Texture,
FIntRect Rect,
TArray < FLinearColor > & OutData,
FReadSurfaceDataFlags InFlags
)
Remarks
ReadSurfaceFloatData reads texture data into FLinearColor pixels in other formats are converted to FLinearColor reading from float surfaces remaps the values into an interpolation of their {min,max} ; use RCM_MinMax to prevent that