Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FTextureRenderTarget2DArrayResou-
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool ReadPixels
(
TArray< FColor >& OutImageData, |
Copy the texels of a single depth slice of the 2d array into an array. | TextureRenderTarget2DArrayResource.h | |
bool ReadPixels
(
TArray< FFloat16Color >& OutImageData, |
Copy the texels of a single depth slice of the cube into an array. | TextureRenderTarget2DArrayResource.h | |
virtual bool ReadPixels
(
TArray< FColor >& OutImageData, |
TextureRenderTarget2DArrayResource.h |
ReadPixels(TArray< FColor > &, int32, FIntRect)
Description
Copy the texels of a single depth slice of the 2d array into an array.
| Name | ReadPixels |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/TextureRenderTarget2DArrayResource.h |
| Include Path | #include "TextureRenderTarget2DArrayResource.h" |
| Source | /Engine/Source/Runtime/Engine/Private/TextureRenderTarget2DArray.cpp |
bool ReadPixels
(
TArray < FColor > & OutImageData,
int32 InDepthSlice,
FIntRect InRect
)
true if the read succeeded.
Parameters
| Name | Remarks |
|---|---|
| OutImageData | float16 values will be stored in this array. |
| InDepthSlice | which depth slice to read. |
| InRect | Rectangle of texels to copy. |
ReadPixels(TArray< FFloat16Color > &, int32, FIntRect)
Description
Copy the texels of a single depth slice of the cube into an array.
| Name | ReadPixels |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/TextureRenderTarget2DArrayResource.h |
| Include Path | #include "TextureRenderTarget2DArrayResource.h" |
| Source | /Engine/Source/Runtime/Engine/Private/TextureRenderTarget2DArray.cpp |
bool ReadPixels
(
TArray < FFloat16Color > & OutImageData,
int32 InDepthSlice,
FIntRect InRect
)
true if the read succeeded.
Parameters
| Name | Remarks |
|---|---|
| OutImageData | float16 values will be stored in this array. |
| InDepthSlice | which depth slice to read. |
| InRect | Rectangle of texels to copy. |
ReadPixels(TArray< FColor > &, FReadSurfaceDataFlags, FIntRect)
| Name | ReadPixels |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/TextureRenderTarget2DArrayResource.h |
| Include Path | #include "TextureRenderTarget2DArrayResource.h" |
| Source | /Engine/Source/Runtime/Engine/Private/UnrealClient.cpp |
virtual bool ReadPixels
(
TArray < FColor > & OutImageData,
FReadSurfaceDataFlags InFlags,
FIntRect InSrcRect
)