babylonjs-gltf2interface 8.24.0 → 8.24.2
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.
@@ -145,13 +145,17 @@ declare module BABYLON.GLTF2 {
|
|
145
145
|
*/
|
146
146
|
PNG = "image/png",
|
147
147
|
/**
|
148
|
-
* WEBP Mime-type
|
148
|
+
* WEBP Mime-type, available via EXT_texture_webp
|
149
149
|
*/
|
150
150
|
WEBP = "image/webp",
|
151
151
|
/**
|
152
|
-
* AVIF Mime-type
|
152
|
+
* AVIF Mime-type, available via EXT_texture_avif
|
153
153
|
*/
|
154
154
|
AVIF = "image/avif",
|
155
|
+
/**
|
156
|
+
* KTX2 Mime-type, available via KHR_texture_basisu
|
157
|
+
*/
|
158
|
+
KTX2 = "image/ktx2",
|
155
159
|
}
|
156
160
|
|
157
161
|
/**
|
@@ -813,9 +817,9 @@ declare module BABYLON.GLTF2 {
|
|
813
817
|
*/
|
814
818
|
sampler?: number;
|
815
819
|
/**
|
816
|
-
* The index of the image used by this texture
|
820
|
+
* The index of the image used by this texture. When undefined, an extension or other mechanism should supply an alternate texture source, otherwise behavior is undefined.
|
817
821
|
*/
|
818
|
-
source
|
822
|
+
source?: number;
|
819
823
|
}
|
820
824
|
|
821
825
|
/**
|
package/package.json
CHANGED