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