pub struct ImageView<I> where
I: ImageAccess, { /* private fields */ }
Expand description
A wrapper around an image that makes it available to shaders or framebuffers.
Implementations
Creates a default ImageView
. Equivalent to ImageView::start(image).build()
.
Begins building an ImageView
.
Trait Implementations
Returns the wrapped image that this image view was created from.
Returns the range of array layers of the wrapped image that this view exposes.
Returns the aspects of the wrapped image that this view exposes.
Returns the component mapping of this view.
Returns the format of this view. This can be different from the parent’s format.
Returns the features supported by the image view’s format.
Returns the range of mip levels of the wrapped image that this view exposes.
Returns the sampler YCbCr conversion that this image view was created with, if any.
Returns the ImageViewType
of this image view.
Returns the usage of the image view.
Returns a reference to the object.
Auto Trait Implementations
impl<I> RefUnwindSafe for ImageView<I> where
I: RefUnwindSafe,
impl<I> UnwindSafe for ImageView<I> where
I: RefUnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Builds a pointer to this type from a raw pointer.
Returns true if the size is suitable to store a type like this.
Returns the size of an individual element.