API

Function setKtx2DecoderUrl

  • Override the URL of the KTX2/Basis decoder script (and, optionally, the URLs of the WASM/JS transcoder modules it pulls). Call before the first KHR_texture_basisu texture loads.

    Parameters

    • url: string
    • OptionalwasmUrls: Record<string, Record<string, string>>

    Returns void