Expand description
Material agnostic culling on either the CPU or GPU.
Structs§
- CpuDraw
Call - All the information needed to dispatch a CPU draw call.
- Culled
Object Set - A set of objects that have been called. Contains the information needed to dispatch a render.
- GpuCuller
- Provides GPU based object culling.
- GpuIndirect
Data - The data needed to do an indirect draw call for an entire material archetype.
- PerMaterial
Archetype Data - Handles to the data that corresponds with a single material archetype.
Functions§
- add_
culling_ to_ graph - Add the profile-approprate culling for the given material archetype to the graph.
- build_
gpu_ cull_ input - Build and upload the inputs into a buffer to be passed to
GpuCuller::cull
. - cull_
cpu - Do all object culling on the CPU and upload the per-object data to the GPU.
- draw_
cpu_ powered - Draw the given cpu draw calls.
- draw_
gpu_ powered - Draw the given indirect call.