Navigation
API > API/Runtime > API/Runtime/Engine
Inheritance Hierarchy
- FTextureResource
- FRenderTarget
- FDeferredUpdateResource
- FTextureRenderTargetResource
- FTextureRenderTarget2DResource
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/TextureResource.h |
| Include | #include "TextureResource.h" |
Syntax
class FTextureRenderTarget2DResource : public FTextureRenderTargetResource
Remarks
FTextureResource type for 2D render target textures.
Constructors
| Type | Name | Description | |
|---|---|---|---|
FTextureRenderTarget2DResource
(
const UTextureRenderTarget2D* InOwner |
Constructor |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| FLinearColor | |||
| ETextureCreateFlags | |||
| EPixelFormat | GetFormat () |
||
| FUnorderedAccessViewRHIRef | |||
| void | Resize
(
int32 NewSizeX, |
Overridden from FTextureRenderTargetResource
| Type | Name | Description | |
|---|---|---|---|
| void | ClampSize
(
int32 SizeX, |
Clamp size of the render target resource to max values | |
| FTextureRenderTarget2DResource * | 2D texture RT resource interface |
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 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. |
Overridden from FDeferredUpdateResource
| Type | Name | Description | |
|---|---|---|---|
| void | UpdateDeferredResource
(
FRHICommandListImmediate& RHICmdList, |
Updates (resolves) the render target texture. |