Module |
|
Header |
/Engine/Source/Runtime/RenderCore/Public/RenderGraphBuilder.h |
Include |
#include "RenderGraphBuilder.h" |
class FRDGBuilder
Builds the per-frame render graph. Resources must be created from the builder before they can be bound to Pass ResourceTables. These resources are descriptors only until the graph is executed, where RHI resources are allocated as needed.
Name | Description | ||
---|---|---|---|
|
MemStack |
Memory stack use for allocating RDG resource and passes. |
|
|
RHICmdList |
The RHI command list used for the render graph. |
Name | Description | |
---|---|---|
|
FRDGBuilder ( |
A RHI cmd list is required, if using the immediate mode. |
|
FRDGBuilder ( |
Name | Description | ||
---|---|---|---|
|
AddExternalPass ( |
Adds an externally created pass to the render graph. |
|
|
AddPass ( |
Adds a hard coded lambda pass to the graph. |
|
|
ParameterStr... |
AllocParameters() |
Allocates parameter struct specifically to survive through the life time of the render graph. |
|
BeginEventScope ( |
Begins / ends a named event scope. |
|
|
BeginStatScope |
Begins / ends a stat scope. |
|
|
FRDGBufferRe... |
CreateBuffer ( |
Create graph tracked resource from a descriptor with a debug name. |
|
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 resource from a descriptor with a debug name. |
|
FRDGBufferUA... |
CreateUAV ( |
|
|
FRDGBufferUA... |
CreateUAV ( |
Create graph tracked UAV for a buffer from a descriptor. |
|
FRDGTextureU... |
CreateUAV ( |
|
|
FRDGTextureU... |
CreateUAV ( |
Create graph tracked UAV for a texture from a descriptor. |
|
EndEventScope() |
||
|
EndStatScope() |
||
|
Execute() |
Executes the queued passes, managing setting of render targets (RHI RenderPasses), resource transitions and queued texture extraction. |
|
|
QueueBufferExtraction ( |
Queue a buffer extraction. |
|
|
QueueTextureExtraction ( |
Queue a texture extraction. |
|
|
FRDGBufferRe... |
RegisterExternalBuffer ( |
Register a external buffer to be tracked by the render graph. |
|
FRDGTextureR... |
RegisterExternalTexture ( |
Register a external texture to be tracked by the render graph. |
|
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. |
|
|
TickPoolElements() |
Per-frame update of the render graph resource pool. |
|
|
FRDGBufferRe... |
TryRegisterExternalBuffer ( |
Variant of RegisterExternalBuffer which will return null (rather than assert) if the external buffer is null. |
|
FRDGTextureR... |
TryRegisterExternalTexture ( |
Variant of RegisterExternalTexture which will returns null (rather than assert) if the external texture is null. |