Module |
|
Header |
/Engine/Source/Runtime/RenderCore/Public/RenderGraphBuilder.h |
Include |
#include "RenderGraphBuilder.h" |
class FRDGBuilder
Use the render graph builder to build up a graph of passes and then call Execute() to process them. Resource barriers and lifetimes are derived from RDG parameters in the pass parameter struct provided to each AddPass call. The resulting graph is compiled, culled, and executed in Execute(). The builder should be created on the stack and executed prior to destruction.
Name | Description | ||
---|---|---|---|
|
Blackboard |
The blackboard used to hold common data tied to the graph lifetime. |
|
|
RHICmdList |
The RHI command list used for the render graph. |
Name | Description | |
---|---|---|
|
FRDGBuilder ( |
|
|
FRDGBuilder ( |
Name | Description | ||
---|---|---|---|
|
AddPass ( |
Adds a lambda pass to the graph with an accompanied pass parameter struct. |
|
|
AddPass ( |
Adds a lambda pass to the graph without any parameters. |
|
|
void * |
Alloc |
Allocates raw memory using an allocator tied to the lifetime of the graph. |
|
ObjectType &... |
AllocObject ( |
Allocates a C++ object using an allocator tied to the lifetime of the graph. |
|
ParameterStr... |
AllocParameters() |
Allocates a parameter struct with a lifetime tied to graph execution. |
|
PODType *... |
AllocPOD() |
Allocates POD memory using an allocator tied to the lifetime of the graph. |
|
FRDGBufferRe... |
CreateBuffer ( |
Create graph tracked buffer from a descriptor. |
|
FRDGBufferSR... |
CreateSRV ( |
|
|
FRDGBufferSR... |
CreateSRV ( |
Create graph tracked SRV for a buffer from a descriptor. |
|
FRDGTextureS... |
CreateSRV ( |
Create graph tracked SRV for a texture from a descriptor. |
|
FRDGTextureR... |
CreateTexture ( |
Create graph tracked texture from a descriptor. |
|
FRDGBufferUA... |
CreateUAV ( |
Create graph tracked UAV for a buffer from a descriptor. |
|
FRDGBufferUA... |
CreateUAV ( |
|
|
FRDGTextureU... |
CreateUAV ( |
|
|
FRDGTextureU... |
CreateUAV ( |
Create graph tracked UAV for a texture from a descriptor. |
|
TRDGUniformB... |
CreateUniformBuffer ( |
Creates a graph tracked uniform buffer which can be attached to passes. |
|
Execute() |
Executes the queued passes, managing setting of render targets (RHI RenderPasses), resource transitions and queued texture extraction. |
|
|
FRDGTextureR... |
FindExternalTexture ( |
Finds an RDG texture associated with the external texture, or returns null if none is found. |
|
FRDGTextureR... |
FindExternalTexture ( |
Finds an RDG texture associated with the external texture, or returns null if none is found. |
|
const TRefCo... |
GetPooledBuffer ( |
Performs an immediate query for the underlying pooled buffer. |
|
const TRefCo... |
GetPooledTexture ( |
Performs an immediate query for the underlying pooled texture. |
|
PreallocateBuffer ( |
||
|
PreallocateTexture ( |
For graph-created resources, this forces immediate allocation of the underlying pooled resource, effectively promoting it to an external resource. |
|
|
QueueBufferExtraction ( |
Queues a pooled buffer extraction to happen at the end of graph execution. |
|
|
QueueBufferExtraction ( |
Queues a pooled buffer extraction to happen at the end of graph execution. |
|
|
QueueTextureExtraction ( |
Queues a pooled render target extraction to happen at the end of graph execution. |
|
|
QueueTextureExtraction ( |
Queues a pooled render target extraction to happen at the end of graph execution. |
|
|
FRDGBufferRe... |
RegisterExternalBuffer ( |
Register a external buffer to be tracked by the render graph. |
|
FRDGBufferRe... |
RegisterExternalBuffer ( |
Register a external buffer to be tracked by the render graph. |
|
FRDGBufferRe... |
RegisterExternalBuffer ( |
Register an external buffer with a custom name. |
|
FRDGTextureR... |
RegisterExternalTexture ( |
Registers a external pooled render target texture to be tracked by the render graph. |
|
FRDGTextureR... |
RegisterExternalTexture ( |
Register an external texture with a custom name. |
|
RemoveUnusedBufferWarning ( |
Flag a buffer that is produced by a pass but never used or extracted to not emit an 'unused' warning. |
|
|
RemoveUnusedTextureWarning ( |
Flag a texture that is produced by a pass but never used or extracted to not emit an 'unused' warning. |
|
|
SetBufferAccessFinal ( |
Sets the access to transition to after execution. |
|
|
SetTextureAccessFinal ( |
Sets the access to transition to after execution. |
|
|
TickPoolElements() |
Per-frame update of the render graph resource pool. |
Name |
Description |
---|---|
kDefaultAccessFinal |
|
kDefaultAccessInitial |
|
kDefaultUnaccountedCSVStat |
Name | Description | ||
---|---|---|---|
|
QueueTextureExtraction ( |
QueueTextureExtraction with bTransitionToRead is deprecated; use the ERHIAccess variant instead. |