Creates a new KTX2TextureTranscoder.
Optional
transcoderPath?: stringPath 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.
Optional
workerLimit?: numberThe maximum number of Workers to use for transcoding.
Initializes this transcoder.
A set of flags indicating the capabilities of this TextureTranscoder.
Transcodes texture data from transcoded buffers.
Transcoded input texture data. Given as an array of buffers so that we can support multi-image textures, such as cube maps.
Transcoding options.
Transcoded output texture data.
KTX2 texture decompression strategy.
See @xeokit/sdk/ktx2 for usage.