Struct vulkano::image::view::ImageViewBuilder[][src]

pub struct ImageViewBuilder<I> { /* fields omitted */ }

Implementations

Sets the image view type.

By default, this is determined from the image, based on its dimensions and number of layers. The value of ty must be compatible with the dimensions of the image and the selected array layers.

Sets how to map components of each pixel.

By default, this is the identity mapping, with every component mapped directly.

Sets the range of mipmap levels that the view should cover.

By default, this is the full range of mipmaps present in the image.

Sets the range of array layers that the view should cover.

By default, this is the full range of array layers present in the image.

Builds the ImageView.

Trait Implementations

Formats the value using the given formatter. 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.