GLTFTextureDDSExtension constructor

GLTFTextureDDSExtension(
  1. dynamic ddsLoader
)

Implementation

GLTFTextureDDSExtension(this.ddsLoader) {
  name = gltfExtensions["MSFT_TEXTURE_DDS"]!;

  if (ddsLoader == null) {
    throw ('THREE.GLTFLoader: Attempting to load .dds texture without importing DDSLoader');
  }
}