Skip to main content

TextureInterface

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§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§