pub fn purge_unused_resources(&mut self) {
        self.sound_buffers
            .retain(|buffer| buffer.value.use_count() > 1);
        self.models.retain(|buffer| buffer.value.use_count() > 1);
        self.textures.retain(|buffer| buffer.value.use_count() > 1);
    }
/// Immediately destroys all unused resources.
Immediately destroys all unused resources.
Immediately destroys all unused resources .
pub fn purge_unused_resources(&mut self) {
        self.sound_buffers
            .retain(|buffer| buffer.value.use_count() > 1);
        self.models.retain(|buffer| buffer.value.use_count() > 1);
        self.textures.retain(|buffer| buffer.value.use_count() > 1);
    }
pub fn purge_unused_resources ( & mut self ) { self . sound_buffers . retain ( | buffer | buffer . value . use_count ( ) > 1 ) ; self . models . retain ( | buffer | buffer . value . use_count ( ) > 1 ) ; self . textures . retain ( | buffer | buffer . value . use_count ( ) > 1 ) ; }
Immediately destroys all unused resources.
Immediately destroys all unused resources .
&mut self