@@ -300,11 +300,6 @@ export class CurrentScreenBlock extends NodeMaterialBlock {
this.texture = Texture.Parse(serializationObject.texture, scene, rootUrl) as Texture;
}
-
- public dispose() {
- super.dispose();
- this.texture?.dispose();
- }
_TypeStore.RegisteredTypes["BABYLON.CurrentScreenBlock"] = CurrentScreenBlock;
@@ -459,11 +459,6 @@ export abstract class ReflectionTextureBaseBlock extends NodeMaterialBlock {
_TypeStore.RegisteredTypes["BABYLON.ReflectionTextureBaseBlock"] = ReflectionTextureBaseBlock;
@@ -449,11 +449,6 @@ export class TextureBlock extends NodeMaterialBlock {
_TypeStore.RegisteredTypes["BABYLON.TextureBlock"] = TextureBlock;
@@ -349,11 +349,6 @@ export class RefractionBlock extends NodeMaterialBlock {
this.linkRefractionWithTransparency = serializationObject.linkRefractionWithTransparency;
this.invertRefractionY = serializationObject.invertRefractionY;
_TypeStore.RegisteredTypes["BABYLON.RefractionBlock"] = RefractionBlock;
@@ -218,11 +218,6 @@ export class ParticleTextureBlock extends NodeMaterialBlock {
_TypeStore.RegisteredTypes["BABYLON.ParticleTextureBlock"] = ParticleTextureBlock;