pub struct ImageInfoBuilder { /* private fields */ }
Expand description

Builder for ImageInfo.

Implementations

The number of layers in the image.

Image extent of the Z axis, when describing a three dimensional image.

A bitmask of describing additional parameters of the image.

The format and type of the texel blocks that will be contained in the image.

Image extent of the Y axis, when describing a two or three dimensional image.

Specifies the tiling arrangement of the texel blocks in memory.

The default value of false indicates a VK_IMAGE_TILING_OPTIMAL image.

The number of levels of detail available for minified sampling of the image.

Specifies the number of samples per texel.

The basic dimensionality of the image.

Layers in array textures do not count as a dimension for the purposes of the image type.

A bitmask of describing the intended usage of the image.

Image extent of the X axis.

Builds a new ImageInfo.

Trait Implementations

Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
Converts to this type from the input type.
Lease a resource.
Lease a resource.

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.