Module |
|
Header |
/Engine/Source/Runtime/RenderCore/Public/RendererInterface.h |
Include |
#include "RendererInterface.h" |
struct FPooledRenderTargetDesc
All necessary data to create a render target from the pooled render targets.
Name | Description | ||
---|---|---|---|
|
union FPooledRe... |
@1993 |
|
|
ArraySize |
|
|
|
uint8: 1 |
AutoWritable |
Automatically set to writable via barrier during |
|
uint8: 1 |
bCreateRenderTargetFmask |
Create render target fmask (supported only on specific platforms) |
|
uint8: 1 |
bCreateRenderTargetWriteMask |
Create render target write mask (supported only on specific platforms) |
|
uint8: 1 |
bForceSeparateTargetAndShaderResource |
Whether the shader-resource and targetable texture must be separate textures. |
|
uint8: 1 |
bForceSharedTargetAndShaderResource |
Whether the shader-resource and targetable texture must be the same resource. |
|
uint8: 1 |
bIsArray |
True if an array texture. that ArraySize still can be 1 |
|
uint8: 1 |
bIsCubemap |
True if a cubemap texture |
|
uint8: 1 |
bReserved0 |
Unused flag. |
|
ClearValue |
Value allowed for fast clears for this target. |
|
|
const TCHAR ... |
DebugName |
Only set a pointer to memory that never gets released |
|
Depth |
0, unless it's texture array or volume texture |
|
|
Extent |
In pixels, (0,0) if not set, (x,0) for cube maps, todo: make 3d int vector for volume textures |
|
|
Flags |
The flags that must be set on both the shader-resource and the targetable texture. |
|
|
Format |
Texture format e.g. PF_B8G8R8A8 |
|
|
NumMips |
Number of mips |
|
|
NumSamples |
Number of MSAA samples, default: 1 |
|
|
PackedBits |
||
|
TargetableFlags |
The flags that must be set on the targetable texture. |
Name | Description | |
---|---|---|
|
FPooledRenderTargetDesc() |
Default constructor, use one of the factory functions below to make a valid description |
Name | Description | ||
---|---|---|---|
|
Compare ( |
Comparison operator to test if a render target can be reused |
|
|
FPooledRende... |
Create2DDesc ( |
Factory function to create 2D texture description |
|
FPooledRende... |
CreateCubemapArrayDesc ( |
Factory function to create cube map array texture description |
|
FPooledRende... |
CreateCubemapDesc ( |
Factory function to create cube map texture description |
|
FPooledRende... |
CreateVolumeDesc ( |
Factory function to create 3D texture description |
|
GenerateInfoString() |
For debugging purpose |
|
|
GetSize() |
||
|
Is2DTexture() |
||
|
Is3DTexture() |
||
|
IsArray() |
||
|
IsCubemap() |
||
|
IsValid() |
||
|
Reset() |
Useful when compositing graph takes an input as output format |