Struct vulkano::image::view::ImageView [−][src]
pub struct ImageView<I> where
I: ImageAccess, { /* fields omitted */ }
Expand description
A safe image view that checks for validity and keeps its attached image alive.
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 inner unsafe image view object used by this image view.
Returns the range of array layers of the wrapped image that this view exposes.
Returns the format of this view. This can be different from the parent’s format.
Returns the component mapping of this view.
Returns the ImageViewType
of this image view.
Returns true if the given sampler can be used with this image view. Read more
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.