📄 drei/loaders/ktx2-use-ktx2

File: ktx2-use-ktx2.md | Updated: 11/15/2025


title: Ktx2 / useKTX2 sourcecode: src/core/Ktx2.tsx

A convenience hook that uses useLoader and KTX2Loader

const texture = useKTX2(url)
const [texture1, texture2] = useKTX2([texture1, texture2])

return <meshStandardMaterial map={texture} />