A handle to a mesh stored in GPU memory.

interface GPUMemoryMeshHandle {
    gpuMemoryBatchIndex: number;
    meshIndex: number;
    numIndices: number;
    numVertices: number;
}

Properties

gpuMemoryBatchIndex: number

Index of the batch containing the mesh.

meshIndex: number

Index of the mesh within the batch.

numIndices: number

Number of indices in the mesh. This helps GPUMemoryManager users to know how many indices to draw in total for TRIANGLES and LINES.

numVertices: number

Number of vertices in the mesh. This helps GPUMemoryManager users to know how many vertices to draw in total for POINTS.