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
type Target = TextureView
type Target = TextureView
The resulting type after dereferencing.
Dereferences the value.
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
impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
T: Component + Float,
Swp: WhitePoint,
Dwp: WhitePoint,
D: AdaptFrom<S, Swp, Dwp, T>,
impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
T: Component + Float,
Swp: WhitePoint,
Dwp: WhitePoint,
D: AdaptFrom<S, Swp, Dwp, T>,
Mutably borrows from an owned value. Read more
Convert into T with values clamped to the color defined bounds Read more
Convert into T. The resulting color might be invalid in its color space Read more
Convert into T, returning ok if the color is inside of its defined range,
otherwise an OutOfBounds
error is returned which contains the unclamped color. Read more