Struct wgpu::Texture [−][src]
pub struct Texture { /* fields omitted */ }
Handle to a texture on the GPU.
Created by calling Device::create_texture
Implementations
impl Texture
[src]
impl Texture
[src]pub fn create_view(&self, desc: &TextureViewDescriptor<'_>) -> TextureView
[src]
Creates a view of this texture.
pub fn destroy(&self)
[src]
Destroy the associated native resources as soon as possible.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Texture
impl !RefUnwindSafe for Texture
impl !UnwindSafe for Texture
impl !UnwindSafe for Texture