Navigation
API > API/Runtime > API/Runtime/Engine
Inheritance Hierarchy
- FTextureResource
- FRenderTarget
- FDeferredUpdateResource
- FTextureRenderTargetResource
- FSlateTextureRenderTarget2DResource
- FTextureRenderTarget2DArrayResource
- FTextureRenderTarget2DResource
- FTextureRenderTargetCubeResource
- FTextureRenderTargetVolumeResource
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/TextureResource.h |
| Include | #include "TextureResource.h" |
Syntax
class FTextureRenderTargetResource :
public FTextureResource ,
public FRenderTarget ,
public FDeferredUpdateResource
Remarks
FTextureResource type for render target textures.
Constructors
| Type | Name | Description | |
|---|---|---|---|
| Constructor, initializing ClearLink. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | |||
| FTextureRenderTarget2DArrayResource * | |||
| FTextureRenderTarget2DResource * | |||
| FTextureRenderTargetCubeResource * | |||
| FTextureRenderTargetVolumeResource * | |||
| bool | IsSupportedFormat
(
EPixelFormat Format |
Return true if a render target of the given format is allowed for creation | |
| void | SetActiveGPUMask
(
FRHIGPUMask InGPUMask |
Changes the GPUMask used when updating the texture with multi-GPU. | |
| void | SetGPUMask
(
FRHIGPUMask InGPUMask |
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 FRenderTarget
| Type | Name | Description | |
|---|---|---|---|
| float | Also GetSizeZ() GetSizeXY from "FRenderTarget" virtual FIntPoint GetSizeXY() const override = 0; Render target resource should be sampled in linear color space | ||
| FRHIGPUMask | GetGPUMask
(
FRHICommandListImmediate& RHICmdList |
Returns the GPU nodes on which to render this render target. | |
| const FTextureRHIRef & | FRenderTarget implementation. |