Initialize the Draco mesh decoder.

  • Parameters

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

      The Draco decoder configuration.

      • jsUrl: string

        URL of glue script.

      • lazyInit: boolean

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

      • numWorkers: number

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

      • wasmUrl: string

        URL of the wasm module.

    Returns void