Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FRenderTarget > API/Runtime/Engine/FRenderTarget/ReadFloat16Pixels
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/UnrealClient.h |
| Include | #include "UnrealClient.h" |
| Source | /Engine/Source/Runtime/Engine/Private/UnrealClient.cpp |
bool ReadFloat16Pixels
&40;
FFloat16Color &42; OutImageBytes,
ECubeFace CubeFace
&41;
Remarks
Reads the viewport's displayed pixels into a preallocated color buffer. True if the read succeeded.
Parameters
| Name | Description |
|---|---|
| OutImageBytes | RGBA16F values will be stored in this buffer. Buffer must be preallocated with the correct size! |
| CubeFace | optional cube face for when reading from a cube render target |