Class: Batch

Batch

A batch pool is used to store batches when they are not currently in use.

new Batch ()

Implements

Members

bindGroup BindGroup

breaking rules slightly here in the name of performance.. storing references to these bindgroups here is just faster for access! keeps a reference to the bind group to set when rendering this batch for WebGPU. Will be null if using WebGl.

gpuBindGroup GPUBindGroup

breaking rules slightly here in the name of performance.. storing references to these bindgroups here is just faster for access! keeps a reference to the GPU bind group to set when rendering this batch for WebGPU. Will be null is using WebGL.