Navigation
API > API/Runtime > API/Runtime/RenderCore > API/Runtime/RenderCore/FRDGBuilder
References
| Module | RenderCore |
| Header | /Engine/Source/Runtime/RenderCore/Public/RenderGraphBuilder.h |
| Include | #include "RenderGraphBuilder.h" |
| Source | /Engine/Source/Runtime/RenderCore/Public/RenderGraphBuilder.inl |
void SetPassWorkload
(
FRDGPass * Pass,
uint32 Workload
)
Remarks
Sets the expected workload of the pass execution lambda. The default workload is 1 and is more or less the 'average cost' of a pass. Recommended usage is to set a workload equal to the number of complex draw / dispatch calls (each with its own parameters, etc), and only as a performance tweak if a particular pass is very expensive relative to other passes.