Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FRenderTarget
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/UnrealClient.h |
| Include | #include "UnrealClient.h" |
| Source | /Engine/Source/Runtime/Engine/Private/UnrealClient.cpp |
bool ReadPixelsPtr
&40;
FColor &42; OutImageBytes,
FReadSurfaceDataFlags InFlags,
FIntRect InSrcRect
&41;
Remarks
Reads the viewport's displayed pixels into a preallocated color buffer. Reads the viewport's displayed pixels into a preallocated color buffer. True if the read succeeded.
Parameters
| Name | Description |
|---|---|
| OutImageBytes | RGBA8 values will be stored in this buffer. Buffer must be preallocated with the correct size! |
| InSrcRect | InSrcRect not specified means the whole rect |
| OutputBuffer | RGBA8 values will be stored in this buffer |