src/passes/Pass.js
/**
	 * Performs a shallow search for disposable properties and deletes them. The
	 * pass will be inoperative after this method was called!
	 *
	 * The {@link EffectComposer} calls this method when it is being destroyed.
	 * You may, however, use it independently to free memory when you are certain
	 * that you don't need this pass anymore.
	 */
Performs a shallow search for disposable properties and deletes them. The
pass will be inoperative after this method was called!

The  EffectComposer calls this method when it is being destroyed.
You may, however, use it independently to free memory when you are certain
that you don't need this pass anymore.
Performs a shallow search for disposable properties and deletes them . The pass will be inoperative after this method was called! The EffectComposer calls this method when it is being destroyed . You may however use it independently to free memory when you are certain that you don ' t need this pass anymore .
dispose() {
		const material = this.getFullscreenMaterial();
		if(material !== null) {
			material.dispose();
		}
		for(const key of Object.keys(this)) {
			const property = this[key];
			if(property !== null && typeof property.dispose === "function") {
				if(property instanceof Scene) {
					continue;
				}
				this[key].dispose();
			}
		}
	}
dispose ( ) { const material = this . getFullscreenMaterial ( ) ; if ( material !== null ) { material . dispose ( ) ; } for ( const key of Object . keys ( this ) ) { const property = this [ key ] ; if ( property !== null && typeof property . dispose === "function" ) { if ( property instanceof Scene ) { continue ; } this [ key ] . dispose ( ) ; } } }
Performs a shallow search for disposable properties and deletes them.
Performs a shallow search for disposable properties and deletes them .
/** @ignore */