Module bevy_render::batching::no_gpu_preprocessing
source · Expand description
Batching functionality when GPU preprocessing isn’t in use.
Structs§
- The GPU buffers holding the data needed to render batches.
Functions§
- Creates batches for a render phase that uses bins, when GPU batch data building isn’t in use.
- 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.
- A system that clears out the
BatchedInstanceBuffer
for the frame. - Writes the instance buffer data to the GPU.