Navigation
Unreal Engine C++ API Reference > Runtime > Engine
Inheritance Hierarchy
- FTextureResource
- FRenderTarget
- FDeferredUpdateResource
- FTextureRenderTargetResource
- FTextureRenderTarget2DArrayResource
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Public/TextureRenderTarget2DArrayResource.h |
Include | #include "TextureRenderTarget2DArrayResource.h" |
Syntax
class FTextureRenderTarget2DArrayResource : public FTextureRenderTargetResource
Remarks
FTextureRenderTarget2DArrayResource type for 2DArray render target textures.
Constructors
Type | Name | Description | |
---|---|---|---|
FTextureRenderTarget2DArrayResource
(
const UTextureRenderTarget2DArray* InOwner |
Constructor |
Functions
Type | Name | Description | |
---|---|---|---|
FUnorderedAccessViewRHIRef | |||
bool | ReadPixels
(
TArray< FColor >& OutImageData, |
Copy the texels of a single depth slice of the 2d array into an array. | |
bool | ReadPixels
(
TArray< FFloat16Color >& OutImageData, |
Copy the texels of a single depth slice of the cube into an array. |
Overridden from FTextureRenderTargetResource
Type | Name | Description | |
---|---|---|---|
FTextureRenderTarget2DArrayResource * | 2DArray texture RT resource interface |
Overridden from FTexture
Type | Name | Description | |
---|---|---|---|
uint32 | GetSizeX () |
The FTexture implementations return zero; force them to be implemented: | |
uint32 | GetSizeY () |
Returns the height of the texture in pixels. |
Overridden from FRenderResource
Type | Name | Description | |
---|---|---|---|
void | InitRHI
(
FRHICommandListBase& RHICmdList |
Initializes the dynamic RHI resource and/or RHI render target used by this resource. | |
void | ReleaseRHI () |
Releases the dynamic RHI resource and/or RHI render target resources used by this resource. |
Overridden from FRenderTarget
Type | Name | Description | |
---|---|---|---|
float | Render target resource should be sampled in linear color space | ||
FIntPoint | GetSizeXY () |
Properties. | |
bool | ReadPixels
(
TArray< FColor >& OutImageData, |
Reads the render target's displayed pixels into a preallocated color buffer. |
Overridden from FDeferredUpdateResource
Type | Name | Description | |
---|---|---|---|
void | UpdateDeferredResource
(
FRHICommandListImmediate& RHICmdList, |
Updates (resolves) the render target texture. |