pub trait TextureInterface: CommonTraits {
// Required methods
fn create_view(
&self,
desc: &TextureViewDescriptor<'_>,
) -> DispatchTextureView;
fn destroy(&self);
}
Required Methods§
fn create_view(&self, desc: &TextureViewDescriptor<'_>) -> DispatchTextureView
fn destroy(&self)
Implementors§
impl TextureInterface for CoreTexture
Available on
wgpu_core
only.