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.

Returns the wrapped image that this image view was created from.

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

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

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.

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.