Expand description
Batching functionality when GPU preprocessing isn’t in use.
Structs§
- Batched
Instance Buffer - The GPU buffers holding the data needed to render batches.
Functions§
- batch_
and_ prepare_ binned_ render_ phase - Creates batches for a render phase that uses bins, when GPU batch data building isn’t in use.
- batch_
and_ prepare_ sorted_ render_ phase - Batch the items in a sorted render phase, when GPU instance buffer building isn’t in use. This means comparing metadata needed to draw each phase item and trying to combine the draws into a batch.
- clear_
batched_ cpu_ instance_ buffers - A system that clears out the
BatchedInstanceBuffer
for the frame. - write_
batched_ instance_ buffer - Writes the instance buffer data to the GPU.