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 | ClampSize
(
int32 SizeX, |
||
| 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 () |
Returns the width of the texture in pixels. | |
| uint32 | GetSizeY () |
Returns the height of the texture in pixels. |
Overridden from FRenderTarget
| Type | Name | Description | |
|---|---|---|---|
| float | Render target resource should be sampled in linear color space | ||
| FRHIGPUMask | GetGPUMask
(
FRHICommandListImmediate& RHICmdList |
Returns the GPU nodes on which to render this rendertarget. | |
| FIntPoint | GetSizeXY () |
Properties. |