babylonjs-serializers 8.2.2 → 8.3.1
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.
- package/babylon.glTF2Serializer.js +41 -4
- package/babylon.glTF2Serializer.min.js +1 -1
- package/babylon.glTF2Serializer.min.js.map +1 -1
- package/babylonjs.serializers.d.ts +5 -0
- package/babylonjs.serializers.js +41 -4
- package/babylonjs.serializers.min.js +1 -1
- package/babylonjs.serializers.min.js.map +1 -1
- package/babylonjs.serializers.module.d.ts +10 -0
- package/package.json +3 -3
|
@@ -296,6 +296,11 @@ declare module BABYLON {
|
|
|
296
296
|
private _convertSpecGlossFactorsToMetallicRoughnessAsync;
|
|
297
297
|
exportPBRMaterialAsync(babylonPBRMaterial: PBRBaseMaterial, mimeType: BABYLON.GLTF2.ImageMimeType, hasUVs: boolean): Promise<number>;
|
|
298
298
|
private _setMetallicRoughnessPbrMaterialAsync;
|
|
299
|
+
/**
|
|
300
|
+
* Get the RGBA pixel data from a texture
|
|
301
|
+
* @param babylonTexture
|
|
302
|
+
* @returns an array buffer promise containing the pixel data
|
|
303
|
+
*/
|
|
299
304
|
private _getPixelsFromTexture;
|
|
300
305
|
exportTextureAsync(babylonTexture: BaseTexture, mimeType: BABYLON.GLTF2.ImageMimeType): Promise<Nullable<BABYLON.GLTF2.ITextureInfo>>;
|
|
301
306
|
private _exportTextureInfoAsync;
|