pub fn new(texture: Arc<wgpu::Texture>, view: Arc<wgpu::TextureView>) -> Self {
        Texture {
            texture,
            view,
            id: NEXT_TEXTURE_ID.fetch_add(1, SeqCst),
        }
    }
/// Creates a new [Texture] from an existing texture and texture view.
Creates a new [Texture] from an existing texture and texture view.
Creates a new [ Texture ] from an existing texture and texture view .
pub fn new(texture: Arc<wgpu::Texture>, view: Arc<wgpu::TextureView>) -> Self {
        Texture {
            texture,
            view,
            id: NEXT_TEXTURE_ID.fetch_add(1, SeqCst),
        }
    }
pub fn new ( texture : Arc < wgpu :: Texture > , view : Arc < wgpu :: TextureView > ) -> Self { Texture { texture , view , id : NEXT_TEXTURE_ID . fetch_add ( 1 , SeqCst ) , } }
Creates a new [Texture] from an existing texture and texture view.
Creates a new [ Texture ] from an existing texture and texture view .
texture
Arc<wgpu::Texture>
view
Arc<wgpu::TextureView>
texture
Arc<wgpu::Texture>
view
Arc<wgpu::TextureView>