wgpu::custom

Trait TextureInterface

Source
pub trait TextureInterface: CommonTraits {
    // Required methods
    fn create_view(
        &self,
        desc: &TextureViewDescriptor<'_>,
    ) -> DispatchTextureView;
    fn destroy(&self);
}
Available on custom only.

Required Methods§

Implementors§

Source§

impl TextureInterface for CoreTexture

Available on wgpu_core only.