angular-three-soba 3.5.0 → 3.6.0
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.
|
@@ -1404,6 +1404,9 @@ class NgtsEnvironmentCube {
|
|
|
1404
1404
|
this.envSet.emit();
|
|
1405
1405
|
onCleanup(() => cleanup());
|
|
1406
1406
|
});
|
|
1407
|
+
inject(DestroyRef).onDestroy(() => {
|
|
1408
|
+
_texture()?.dispose();
|
|
1409
|
+
});
|
|
1407
1410
|
}
|
|
1408
1411
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: NgtsEnvironmentCube, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1409
1412
|
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "19.0.6", type: NgtsEnvironmentCube, isStandalone: true, selector: "ngts-environment-cube", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { envSet: "envSet" }, ngImport: i0 }); }
|