@pmndrs/bvh
    Preparing search index...

    Variable GPU_LAYOUT_INDEXED_TRIANGLE_WORDConst

    GPU_LAYOUT_INDEXED_TRIANGLE_WORD: {
        idFlags: 3;
        vertex0: 0;
        vertex1: 1;
        vertex2: 2;
    } = ...

    Word positions inside an indexed triangle (a vec4u).

    Type Declaration

    • ReadonlyidFlags: 3

      Bits 0-27 the original triangle index, bit 28 the filter flag, bit 29 the flip flag, bits 30-31 reserved (0).

    • Readonlyvertex0: 0
    • Readonlyvertex1: 1
    • Readonlyvertex2: 2