Navigation
API > API/Runtime > API/Runtime/RenderCore
References
| Module | RenderCore |
| Header | /Engine/Source/Runtime/RenderCore/Public/RenderGraphEvent.h |
| Include | #include "RenderGraphEvent.h" |
Syntax
struct FRDGScope
Remarks
Main RDG scope class.
A tree of these scopes is created by the render thread as the RenderGraph is built. Each scope type implementation uses the following functions, which are called during different RDG phases:
Constructor / ImmediateEnd() - Render thread timeline. Called once, either side of scoped graph building work.
BeginCPU / EndCPU - Parallel threads. Called during RDG pass lambdas execution. Scopes may be entered / exited multiple times depending on parallel pass set bucketing.
BeginGPU / EndGPU - Parallel threads. Called once for each GPU pipeline the scope covers. Used for inserting commands on the RHICmdList. The command list passed to Begin / End may be different in each, depending on parallel pass set bucketing.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FRDGPass * | CPUFirstPass | ||
| FRDGPass * | CPULastPass | ||
| TRHIPipelineArray< FRDGPass * > | GPUFirstPass | ||
| TRHIPipelineArray< FRDGPass * > | GPULastPass | ||
| FStorage | Impl | ||
| FRDGScope *const | Parent |
Constructors
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | BeginCPU
(
FRHIComputeCommandList& RHICmdList, |
||
| void | BeginGPU
(
FRHIComputeCommandList& RHICmdList |
||
| void | EndCPU
(
FRHIComputeCommandList& RHICmdList, |
||
| void | EndGPU
(
FRHIComputeCommandList& RHICmdList |
||
| TScopeType * | Get () |
||
| TScopeType const * | Get () |
||
| FString | GetFullPath
(
FRDGEventName const& PassName |
||
| void | ImmediateEnd
(
FRDGScopeState& State |
Classes
| Type | Name | Description | |
|---|---|---|---|
| TStorage |
Typedefs
| Name | Description |
|---|---|
| FStorage |