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.
@@ -341,6 +341,11 @@ export class GLTFMaterialExporter {
341
341
  private _convertSpecGlossFactorsToMetallicRoughnessAsync;
342
342
  exportPBRMaterialAsync(babylonPBRMaterial: PBRBaseMaterial, mimeType: ImageMimeType, hasUVs: boolean): Promise<number>;
343
343
  private _setMetallicRoughnessPbrMaterialAsync;
344
+ /**
345
+ * Get the RGBA pixel data from a texture
346
+ * @param babylonTexture
347
+ * @returns an array buffer promise containing the pixel data
348
+ */
344
349
  private _getPixelsFromTexture;
345
350
  exportTextureAsync(babylonTexture: BaseTexture, mimeType: ImageMimeType): Promise<Nullable<ITextureInfo>>;
346
351
  private _exportTextureInfoAsync;
@@ -1826,6 +1831,11 @@ declare module BABYLON {
1826
1831
  private _convertSpecGlossFactorsToMetallicRoughnessAsync;
1827
1832
  exportPBRMaterialAsync(babylonPBRMaterial: PBRBaseMaterial, mimeType: BABYLON.GLTF2.ImageMimeType, hasUVs: boolean): Promise<number>;
1828
1833
  private _setMetallicRoughnessPbrMaterialAsync;
1834
+ /**
1835
+ * Get the RGBA pixel data from a texture
1836
+ * @param babylonTexture
1837
+ * @returns an array buffer promise containing the pixel data
1838
+ */
1829
1839
  private _getPixelsFromTexture;
1830
1840
  exportTextureAsync(babylonTexture: BaseTexture, mimeType: BABYLON.GLTF2.ImageMimeType): Promise<Nullable<BABYLON.GLTF2.ITextureInfo>>;
1831
1841
  private _exportTextureInfoAsync;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "babylonjs-serializers",
3
- "version": "8.2.2",
3
+ "version": "8.3.1",
4
4
  "main": "babylonjs.serializers.js",
5
5
  "types": "babylonjs.serializers.module.d.ts",
6
6
  "files": [
@@ -15,8 +15,8 @@
15
15
  "test:escheck": "es-check es6 ./babylonjs.serializers.js"
16
16
  },
17
17
  "dependencies": {
18
- "babylonjs": "^8.2.2",
19
- "babylonjs-gltf2interface": "^8.2.2"
18
+ "babylonjs": "^8.3.1",
19
+ "babylonjs-gltf2interface": "^8.3.1"
20
20
  },
21
21
  "devDependencies": {
22
22
  "@dev/build-tools": "1.0.0",