Type Alias: BindInstanceDataCallback
BindInstanceDataCallback = (
components,instanceDataBuffer,offset) =>void
Defined in: rendering/renderable.ts:51
Callback function type for binding instance data to a buffer. This function is responsible for writing per-instance data (e.g., transforms, colors) into a Float32Array.
Parameters
components
The entity's components, resolved once per entity by the render system
instanceDataBuffer
Float32Array
The Float32Array buffer to write instance data into
offset
number
The offset within the buffer where this instance's data should start
Returns
void