Navigation
API > API/Runtime > API/Runtime/Renderer > API/Runtime/Renderer/FInstanceCullingContext
Description
Add a batched BuildRenderingCommands pass. Each batch represents a BuildRenderingCommands call from a mesh pass. Batches are collected as we walk through the main render setup and are executed when RDG Execute or Drain is called. This implicitly ends the deferred context, so if Drain is used, it should be paired with a new call to BeginDeferredCulling.
| Name | CreateDeferredContext |
| Type | function |
| Header File | /Engine/Source/Runtime/Renderer/Public/InstanceCulling/InstanceCullingContext.h |
| Include Path | #include "InstanceCulling/InstanceCullingContext.h" |
| Source | /Engine/Source/Runtime/Renderer/Private/InstanceCulling/InstanceCullingContext.cpp |
static FInstanceCullingDeferredContext * CreateDeferredContext
(
FRDGBuilder & GraphBuilder,
const FGPUScene & GPUScene,
FInstanceCullingManager & InstanceCullingManager
)