UNPKG

@babylonjs/viewer

Version:

The Babylon Viewer aims to simplify a specific but common Babylon.js use case: loading, viewing, and interacting with a 3D model.

27 lines (24 loc) 825 B
import { bJ as unregisterGLTFExtension, bI as registerGLTFExtension } from './index-FzOfPXLV.esm.js'; const NAME = "KHR_mesh_quantization"; /** * [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Khronos/KHR_mesh_quantization/README.md) */ // eslint-disable-next-line @typescript-eslint/naming-convention class KHR_mesh_quantization { /** * @internal */ constructor(loader) { /** * The name of this extension. */ this.name = NAME; this.enabled = loader.isExtensionUsed(NAME); } /** @internal */ dispose() { } } unregisterGLTFExtension(NAME); registerGLTFExtension(NAME, true, (loader) => new KHR_mesh_quantization(loader)); export { KHR_mesh_quantization }; //# sourceMappingURL=KHR_mesh_quantization-D6vBoZuK.esm.js.map