Navigation
API > API/Runtime > API/Runtime/RenderCore
References
| Module | RenderCore |
| Header | /Engine/Source/Runtime/RenderCore/Public/RendererInterface.h |
| Include | #include "RendererInterface.h" |
Syntax
struct FPooledRenderTargetDesc
Remarks
All necessary data to create a render target from the pooled render targets.
Variables
| Type | Name | Description | |
|---|---|---|---|
| union FPooledRenderTargetDesc::@2973 | @2974 | ||
| uint16 | ArraySize | >1 if a texture array should be used (not supported on DX9) | |
| uint8: 1 | bIsArray | True if an array texture. Note that ArraySize still can be 1 | |
| uint8: 1 | bIsCubemap | True if a cubemap texture | |
| uint8: 6 | bReserved0 | Unused flags. | |
| FClearValueBinding | ClearValue | Value allowed for fast clears for this target. | |
| const TCHAR * | DebugName | Only set a pointer to memory that never gets released | |
| uint16 | Depth | 0, unless it's texture array or volume texture | |
| FIntPoint | Extent | In pixels, (0,0) if not set, (x,0) for cube maps, todo: make 3d int vector for volume textures | |
| uint8 | FastVRAMPercentage | Resource memory percentage which should be allocated onto fast VRAM (hint-only). | |
| ETextureCreateFlags | Flags | The flags that must be set on both the shader-resource and the targetable texture. | |
| EPixelFormat | Format | Texture format e.g. PF_B8G8R8A8 | |
| uint8 | NumMips | Number of mips | |
| uint8 | NumSamples | Number of MSAA samples, default: 1 | |
| uint8 | PackedBits | ||
| EPixelFormat | UAVFormat | Texture format used when creating the UAV (if TexCreate_UAV is also passed in TargetableFlags, ignored otherwise). |
Constructors
| Type | Name | Description | |
|---|---|---|---|
| Default constructor, use one of the factory functions below to make a valid description |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | Compare
(
const FPooledRenderTargetDesc& rhs, |
Comparison operator to test if a render target can be reused | |
| FPooledRenderTargetDesc | Create2DArrayDesc
(
FIntPoint InExtent, |
Factory function to create 2D array texture description | |
| FPooledRenderTargetDesc | Create2DDesc
(
FIntPoint InExtent, |
Factory function to create 2D texture description | |
| FPooledRenderTargetDesc | CreateCubemapArrayDesc
(
uint32 InExtent, |
Factory function to create cube map array texture description | |
| FPooledRenderTargetDesc | CreateCubemapDesc
(
uint32 InExtent, |
Factory function to create cube map texture description | |
| FPooledRenderTargetDesc | CreateVolumeDesc
(
uint32 InSizeX, |
Factory function to create 3D texture description | |
| FString | For debugging purpose | ||
| FIntVector | GetSize () |
||
| bool | Is2DTexture () |
||
| bool | Is3DTexture () |
||
| bool | IsArray () |
||
| bool | IsCubemap () |
||
| bool | IsValid () |
||
| void | Reset () |
Useful when compositing graph takes an input as output format |