Struct nannou_wgpu::TextureView [−][src]
pub struct TextureView { /* fields omitted */ }
Expand description
A convenient wrapper around a handle to a texture view along with its descriptor.
A TextureView is, perhaps unsurprisingly, a view of some existing texture. The view might be of the whole texture, but it might also be of some sub-section of the texture. When an API provides
Implementations
The width and height of the source texture.
See the extent
method for producing the full width, height and depth of the source
texture.
The unique identifier associated with the texture that this view is derived from.
Access to the inner texture view handle.
Consume the TextureView and produce the inner Arc
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for TextureView
impl Send for TextureView
impl Sync for TextureView
impl Unpin for TextureView
impl !UnwindSafe for TextureView
Blanket Implementations
Mutably borrows from an owned value. Read more