Taos API Reference
    Preparing search index...

    Interface SkinnedInstancedBatch

    A group of identical skinned-mesh instances drawn in ONE drawIndexed call via GPU instancing (the skinned shader's HAS_INSTANCING variant). All instances share mesh, material and a single jointMatrices palette (the identity bind pose for static level geometry — skinning is then a no-op); only the per-instance model/normal matrix varies. Collapses a level's reused mesh library (hundreds of per-node draws) into a handful of instanced draws. No morph targets.

    interface SkinnedInstancedBatch {
        mesh: SkinnedMesh;
        material: Material;
        jointMatrices: Float32Array;
        count: number;
        instanceData: Float32Array;
    }
    Index

    Properties

    material: Material
    jointMatrices: Float32Array

    Shared joint palette (identity for static instancing).

    count: number

    Number of instances (= instanceData.length / SKINNED_INSTANCE_FLOATS).

    instanceData: Float32Array

    Packed per-instance model(16) + normalMatrix(16) floats.