KTX2LoadPlugin
Example — Source Code — API Reference
Adds support for loading .ktx2 (Khronos Texture files with asset manager and embedded in glTF files.
KTX2LoadPlugin also adds support for exporting loaded .ktx2 files in glTF files with the KHR_texture_basisu extension.
typescript
import {KTX2LoadPlugin} from 'threepipe'
viewer.addPluginSync(new KTX2LoadPlugin())
const texture = await viewer.load('file.ktx2')