cleanup() {
		for (const path in this._textures) {
			if (this._wanted.has(path))
				continue;
			this._context.deleteTexture(this._textures[path]);
			delete this._textures[path];
		}
		this._wanted.clear();
	}
// delete everything not wanted since last cleanup()
delete everything not wanted since last cleanup()
delete everything not wanted since last cleanup ()
cleanup() {
		for (const path in this._textures) {
			if (this._wanted.has(path))
				continue;
			this._context.deleteTexture(this._textures[path]);
			delete this._textures[path];
		}
		this._wanted.clear();
	}
cleanup ( ) { for ( const path in this . _textures ) { if ( this . _wanted . has ( path ) ) continue ; this . _context . deleteTexture ( this . _textures [ path ] ) ; delete this . _textures [ path ] ; } this . _wanted . clear ( ) ; }
delete everything not wanted since last cleanup()
delete everything not wanted since last cleanup ()