Skip to content

extendGltfLoader

const extendGltfLoader: NonNullable<Parameters<typeof useGLTF>[3]>

Defined in: packages/engine/src/render/compressed.ts:19

Passed to drei’s useGLTF and Gltf with useDraco false, so every model the engine loads decodes Draco with the decoder served beside the game. drei’s useDraco would override it with its own, and fiber shares one GLTFLoader across calls, so every call passes both.