Sets each instance's modelMatrix on WebGL, for a pass's own template that draws meshes
List it in the pass descriptor's bitsGl. A material's shader fetches the same data already, so
listing it in a material's descriptor fails the compile. It fills the vertex template's
{{input}} slot with the matrix and the indices skinning and morphing read. WebGPU templates
read the same data themselves, so bitsGpu needs no counterpart.
Sets each instance's
modelMatrixon WebGL, for a pass's own template that draws meshesList it in the pass descriptor's
bitsGl. A material's shader fetches the same data already, so listing it in a material'sdescriptorfails the compile. It fills the vertex template's{{input}}slot with the matrix and the indices skinning and morphing read. WebGPU templates read the same data themselves, sobitsGpuneeds no counterpart.