magic-pixels
    Preparing search index...

    Type Alias MeshoptDecoder

    Minimal structural interface for EXT_meshopt_compression decoding, exactly the shape of MeshoptDecoder from the meshoptimizer npm package. magic-pixels never imports or bundles meshoptimizer; the caller passes a ready decoder in.

    type MeshoptDecoder = {
        ready: Promise<void>;
        decodeGltfBuffer(
            target: Uint8Array,
            count: number,
            size: number,
            source: Uint8Array,
            mode: string,
            filter?: string,
        ): void;
    }
    Index
    ready: Promise<void>
    • Parameters

      • target: Uint8Array
      • count: number
      • size: number
      • source: Uint8Array
      • mode: string
      • Optionalfilter: string

      Returns void