Navigation
API > API/Runtime > API/Runtime/Renderer > API/Runtime/Renderer/InstanceCulling > API/Runtime/Renderer/InstanceCulling/FInstanceCullingContext > API/Runtime/Renderer/InstanceCulling/FInstanceCullingContext/BuildRenderingCo-
References
| Module | Renderer |
| Header | /Engine/Source/Runtime/Renderer/Public/InstanceCulling/InstanceCullingContext.h |
| Include | #include "InstanceCulling/InstanceCullingContext.h" |
| Source | /Engine/Source/Runtime/Renderer/Private/InstanceCulling/InstanceCullingContext.cpp |
void BuildRenderingCommands
&40;
FRDGBuilder & GraphBuilder,
const FGPUScene & GPUScene,
FInstanceCullingDrawParams &42; InstanceCullingDrawParams
&41;
Remarks
This BuildRenderingCommands operation may be deferred and merged into a global pass when possible. Note: InstanceCullingDrawParams is captured by the deferred culling passes and must therefore have a RDG-lifetime. If BeginAsyncSetup has been called prior to this, the WaitForSetupTask is deferred as long as possible. If BeginAsyncSetup was not called, then SetDynamicPrimitiveInstanceOffsets must be called before this.