Class KTX2TextureTranscoder

KTX2 texture decompression strategy.

See @xeokit/sdk/ktx2 for usage.

Implements

Constructors

Methods

Constructors

  • Creates a new KTX2TextureTranscoder.

    Parameters

    • params: { transcoderPath?: string; workerLimit?: number }
      • OptionaltranscoderPath?: string

        Path to the Basis transcoder module that internally does the heavy lifting for our KTX2TextureTranscoder. If we omit this configuration, then our KTX2TextureTranscoder will load it from https://cdn.jsdelivr.net/npm/@xeokit/sdk/dist/basis/ by default. Therefore, make sure your application is connected to the internet if you wish to use the default transcoder path.

      • OptionalworkerLimit?: number

        The maximum number of Workers to use for transcoding.

    Returns KTX2TextureTranscoder

Methods