use super::resource::ManagedWgpuTexture;
use super::*;
#[derive(Debug)]
pub(crate) struct WgpuTextureManager {
pub(super) external_views: HashMap<TextureId, TextureView>,
pub(super) managed_textures: HashMap<SnapshotTextureId, ManagedWgpuTexture>,
pub(super) managed_by_texture_id: HashMap<TextureId, SnapshotTextureId>,
pub(super) destroyed_managed_textures: HashMap<SnapshotTextureId, u64>,
}
impl Default for WgpuTextureManager {
fn default() -> Self {
Self::new()
}
}