Taos API Reference
    Preparing search index...

    Interface ResidentArrays

    Flat CPU arrays for the resident pool (pure; the GPU upload mirrors them).

    interface ResidentArrays {
        vertexPool: Uint32Array;
        vertexCount: number;
        meshletVertices: Uint32Array;
        localIndices: Uint8Array;
        descriptors: Float32Array;
        lodInfo: Float32Array;
        clusterPageId: Uint32Array;
        parentIndex: Uint32Array;
        pageBase: Uint32Array;
        clusterCount: number;
        pageCount: number;
        lodLevels: number;
        totalTriangles: number;
        bounds: {
            centerX: number;
            centerY: number;
            centerZ: number;
            radius: number;
        };
        quant: QuantGrid;
    }
    Index

    Properties

    vertexPool: Uint32Array

    Concatenated page vertex pools (PACKED_VERTEX_WORDS u32/vertex).

    vertexCount: number
    meshletVertices: Uint32Array

    Concatenated page meshlet-vertex tables (page-local values, widened to u32).

    localIndices: Uint8Array

    Concatenated page corner-index tables (u8).

    descriptors: Float32Array

    Page-local cluster descriptors (unchanged from the paged data).

    lodInfo: Float32Array

    LOD records (empty if the source had none).

    clusterPageId: Uint32Array

    Page id of each cluster.

    parentIndex: Uint32Array

    Representative parent cluster id per cluster (NO_PARENT-filled if none).

    pageBase: Uint32Array

    Per-page resident bases, PAGE_BASE_WORDS u32 each.

    clusterCount: number
    pageCount: number
    lodLevels: number
    totalTriangles: number
    bounds: { centerX: number; centerY: number; centerZ: number; radius: number }
    quant: QuantGrid