Skip to main content
Holds the per instance data for Renderer:drawImageMeshInstanced. Unlike the mesh buffers it is meant to be rewritten every frame.

Methods

resize

Sets the number of instances.

set

Writes the instance at index, which is zero based. Everything past transform is optional.