@pmndrs/reflections
    Preparing search index...

    Interface BvhMeshGeometry

    One mesh's geometry in object space (what @pmndrs/bvh's builders and @pmndrs/raytracer's scene copy take).

    interface BvhMeshGeometry {
        indices?:
            | Uint32Array<ArrayBufferLike>
            | Uint16Array<ArrayBufferLike>
            | null;
        normals?: Float32Array<ArrayBufferLike> | null;
        positions: Float32Array;
        triangleMaterials?:
            | Uint32Array<ArrayBufferLike>
            | Uint16Array<ArrayBufferLike>
            | null;
        uvs?: Float32Array<ArrayBufferLike> | null;
    }
    Index
    indices?: Uint32Array<ArrayBufferLike> | Uint16Array<ArrayBufferLike> | null

    Three vertex indices per triangle; omit for a plain triangle list.

    normals?: Float32Array<ArrayBufferLike> | null

    Object-space vertex normals, x, y, z per vertex (same count as positions): traced hits are shaded with them interpolated (D1700). Omit for flat shading with the geometric normal.

    positions: Float32Array

    x, y, z per vertex, tightly packed.

    triangleMaterials?:
        | Uint32Array<ArrayBufferLike>
        | Uint16Array<ArrayBufferLike>
        | null

    One material per triangle (an index into the scene's materials, at most BVH_MAX_MATERIAL), or BVH_TRIANGLE_MATERIAL_NONE where the instance's applies (W49, D1701). Omit for the instance's material everywhere.

    uvs?: Float32Array<ArrayBufferLike> | null

    u, v per vertex (same count as positions), for material textures (W97). @pmndrs/raytracer's convention: uv (0, 0) is the first texel of the texture's first row. Omit when no material on this mesh has a texture.