Interface ThinInstanceData
interface ThinInstanceData {
colors?: Float32Array<ArrayBufferLike> | null;
count: number;
matrices: Float32Array<ArrayBufferLike> | Float64Array<ArrayBufferLike>;
}
colors?: Float32Array<ArrayBufferLike> | null;
count: number;
matrices: Float32Array<ArrayBufferLike> | Float64Array<ArrayBufferLike>;
}
Properties
Optionalcolors
colors?: Float32Array<ArrayBufferLike> | null
Optional per-instance RGBA colors (4 floats per instance).
count
count: number
Active instance count.
matrices
matrices: Float32Array<ArrayBufferLike> | Float64Array<ArrayBufferLike>
CPU-side instance world matrices (16 floats per instance). Storage may
be Float32Array (default) or Float64Array (after an HPM engine is
constructed; the caller built the slab via allocateMat4()). The GPU
upload path in thin-instance-gpu.ts handles both (REQ-API-3, D5).
CPU-side data backing a thin-instanced mesh: world matrices, optional colors, and GPU sync state.