babylonjs-loaders 7.0.0 → 7.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -783,6 +783,35 @@ declare module BABYLON.GLTF2.Loader.Extensions {
783
783
 
784
784
 
785
785
 
786
+ }
787
+ declare module BABYLON {
788
+
789
+ }
790
+ declare module BABYLON.GLTF2.Loader.Extensions {
791
+ /**
792
+ * [glTF PR](https://github.com/KhronosGroup/glTF/pull/2235)
793
+ * [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Vendor/EXT_texture_avif/README.md)
794
+ */
795
+ export class EXT_texture_avif implements BABYLON.GLTF2.IGLTFLoaderExtension {
796
+ /** The name of this extension. */
797
+ readonly name = "EXT_texture_avif";
798
+ /** Defines whether this extension is enabled. */
799
+ enabled: boolean;
800
+ private _loader;
801
+ /**
802
+ * @internal
803
+ */
804
+ constructor(loader: BABYLON.GLTF2.GLTFLoader);
805
+ /** @internal */
806
+ dispose(): void;
807
+ /**
808
+ * @internal
809
+ */
810
+ _loadTextureAsync(context: string, texture: BABYLON.GLTF2.Loader.ITexture, assign: (babylonTexture: BaseTexture) => void): Nullable<Promise<BaseTexture>>;
811
+ }
812
+
813
+
814
+
786
815
  }
787
816
  declare module BABYLON {
788
817
 
@@ -1125,6 +1154,24 @@ declare module BABYLON.GLTF2.Loader.Extensions {
1125
1154
  iridescenceIor: MaterialAnimationPropertyInfo[];
1126
1155
  iridescenceThicknessMinimum: MaterialAnimationPropertyInfo[];
1127
1156
  iridescenceThicknessMaximum: MaterialAnimationPropertyInfo[];
1157
+ iridescenceTexture: {
1158
+ extensions: {
1159
+ KHR_texture_transform: {
1160
+ scale: MaterialAnimationPropertyInfo[];
1161
+ offset: MaterialAnimationPropertyInfo[];
1162
+ rotation: MaterialAnimationPropertyInfo[];
1163
+ };
1164
+ };
1165
+ };
1166
+ iridescenceThicknessTexture: {
1167
+ extensions: {
1168
+ KHR_texture_transform: {
1169
+ scale: MaterialAnimationPropertyInfo[];
1170
+ offset: MaterialAnimationPropertyInfo[];
1171
+ rotation: MaterialAnimationPropertyInfo[];
1172
+ };
1173
+ };
1174
+ };
1128
1175
  };
1129
1176
  KHR_materials_sheen: {
1130
1177
  sheenColorFactor: MaterialAnimationPropertyInfo[];