Initialize the Draco mesh decoder.

  • Parameters

    • Optionalconfig: { jsUrl?: string; lazyInit?: boolean; numWorkers?: number; wasmUrl?: string }

      The Draco decoder configuration.

      • OptionaljsUrl?: string

        URL of glue script.

      • OptionallazyInit?: boolean

        Wait for first decode request before initializing workers (default is false). Otherwise initialize workers immediately.

      • OptionalnumWorkers?: number

        Number of workers to use for decoding (default is 1).

      • OptionalwasmUrl?: string

        URL of the wasm module.

    Returns void