Navigation
API > API/Runtime > API/Runtime/Renderer > API/Runtime/Renderer/FInstanceCullingContext
Description
Command that is executed in the per-view, post-cull pass to gather up the instances belonging to this primitive. Multiple commands may add to the same slot, ordering is not preserved.
| Name | AddInstanceRunsToDrawCommand |
| 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 |
void AddInstanceRunsToDrawCommand
(
uint32 IndirectArgsOffset,
int32 InstanceDataOffset,
const uint32 * Runs,
uint32 NumRuns,
EInstanceFlags InstanceFlags,
uint32 MaxBatchSize
)