Module |
|
Header |
/Engine/Source/Runtime/Engine/Public/TextureRenderTarget2DArrayResource.h |
Include |
#include "TextureRenderTarget2DArrayResource.h" |
Source |
/Engine/Source/Runtime/Engine/Private/TextureRenderTarget2DArray.cpp |
bool ReadPixels
(
TArray< FFloat16Color > & OutImageData,
int32 InDepthSlice,
FIntRect InRect
)
Copy the texels of a single depth slice of the cube into an array.
true if the read succeeded.
Parameter |
Description |
---|---|
OutImageData |
float16 values will be stored in this array. |
InDepthSlice |
which depth slice to read. |
InRect |
Rectangle of texels to copy. |