@pmndrs/bvh
    Preparing search index...

    Function deserializeLayout

    • Reads bytes written by serializeLayout. The returned arrays are copies, so bytes may be reused. Throws on anything that isn't a whole tree of this package's layout version (a scene file too: deserializeTraceScene reads those), and on a geometry the tree wasn't built from.

      Parameters

      Returns GpuLayoutMeshBvh