lythreeframe 1.1.8 → 1.1.9
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/dist/bundle.cjs.js
CHANGED
|
@@ -880,11 +880,8 @@ class MaterialAssetPointer extends TAssetPointer {
|
|
|
880
880
|
super(value, referenceCount);
|
|
881
881
|
this.textures = usedTextures;
|
|
882
882
|
}
|
|
883
|
-
|
|
884
|
-
return
|
|
885
|
-
}
|
|
886
|
-
getTexturePointers() {
|
|
887
|
-
return Array.from(this.textures.values());
|
|
883
|
+
get texturePointers() {
|
|
884
|
+
return this.textures;
|
|
888
885
|
}
|
|
889
886
|
release() {
|
|
890
887
|
for (let texture of this.textures.values()) {
|
package/dist/bundle.esm.js
CHANGED
|
@@ -878,11 +878,8 @@ class MaterialAssetPointer extends TAssetPointer {
|
|
|
878
878
|
super(value, referenceCount);
|
|
879
879
|
this.textures = usedTextures;
|
|
880
880
|
}
|
|
881
|
-
|
|
882
|
-
return
|
|
883
|
-
}
|
|
884
|
-
getTexturePointers() {
|
|
885
|
-
return Array.from(this.textures.values());
|
|
881
|
+
get texturePointers() {
|
|
882
|
+
return this.textures;
|
|
886
883
|
}
|
|
887
884
|
release() {
|
|
888
885
|
for (let texture of this.textures.values()) {
|
|
@@ -4,8 +4,7 @@ import { TextureAssetPointer } from "./TextureAssetPointer";
|
|
|
4
4
|
export declare class MaterialAssetPointer extends TAssetPointer<Material> {
|
|
5
5
|
protected textures: Map<string, TextureAssetPointer>;
|
|
6
6
|
constructor(value: Material, usedTextures: Map<string, TextureAssetPointer>, referenceCount?: number);
|
|
7
|
-
|
|
8
|
-
getTexturePointers(): TextureAssetPointer[];
|
|
7
|
+
get texturePointers(): Map<string, TextureAssetPointer>;
|
|
9
8
|
release(): void;
|
|
10
9
|
forceRelease(): void;
|
|
11
10
|
}
|