Argument buffer layout is hard-coded for base pass.
Fill indirect draw buffer (currently from CPU).
Cull the buffer from GPU.
Execute indirect draw with the culled buffer.
GPU culling can be toggled at runtime via imgui.
If enabled, GPUCulling pass is executed during BasePass.
Result of GPUCulling pass. If GPU culling is disabled, this pass is skipped and indirect draw will just use IndirectDrawBuffer. If enabled, indirect draw uses CulledIndirectDrawBuffer and IndirectDrawCounterBuffer.
Argument buffer layout is hard-coded for base pass.
GPU culling can be toggled at runtime via imgui.
If enabled, GPUCulling pass is executed during BasePass.
Result of GPUCulling pass. If GPU culling is disabled, this pass is skipped and indirect draw will just use
IndirectDrawBuffer
. If enabled, indirect draw usesCulledIndirectDrawBuffer
andIndirectDrawCounterBuffer
.