unsafe fn take_texture(
        &mut self,
        texture_handle: TextureHandle,
    ) -> Result<TextureImage> {
        self.device.logical_device.device_wait_idle()?;
        self.texture_atlas.take_texture(texture_handle)
    }
/// This implementation is generally SAFE because it forces the device to
/// idle prior to removing the texture.
This implementation is generally SAFE because it forces the device to
idle prior to removing the texture.
This implementation is generally SAFE because it forces the device to idle prior to removing the texture .
unsafe fn take_texture(
        &mut self,
        texture_handle: TextureHandle,
    ) -> Result<TextureImage> {
        self.device.logical_device.device_wait_idle()?;
        self.texture_atlas.take_texture(texture_handle)
    }
unsafe fn take_texture ( & mut self , texture_handle : TextureHandle , ) -> Result < TextureImage > { self . device . logical_device . device_wait_idle ( ) ? ; self . texture_atlas . take_texture ( texture_handle ) }
This implementation is generally SAFE because it forces the device to
idle prior to removing the texture.
This implementation is generally SAFE because it forces the device to idle prior to removing the texture .
&mut self
texture_handle
TextureHandle