pub struct ImtImageView { /* private fields */ }

Implementations

Create a ImtImageView from a vulkano StorageImage.

Create a ImtImageView from a vulkano AttachmentImage.

Fetch the dimensions of this image.

Trait Implementations

Formats the value using the given formatter. Read more
Returns the device that owns Self.
Returns the inner unsafe image object used by this image.
Returns the layout that the image has when it is first used in a primary command buffer. Read more
Returns the layout that the image must be returned to before the end of the command buffer. Read more
Returns an ImageDescriptorLayouts structure specifying the image layout to use in descriptors of various kinds. Read more
When images are created their memory layout is initially Undefined or Preinitialized. This method allows the image memory barrier creation process to signal when an image has been transitioned out of its initial Undefined or Preinitialized state. This allows vulkano to avoid creating unnecessary image memory barriers between future uses of the image. Read more
Returns the dimensions of the image.
Returns the format of this image.
Returns the features supported by the image’s format.
Returns the number of mipmap levels of this image.
Returns the number of samples of this image.
Returns the usage the image was created with.
Returns the stencil usage the image was created with.
Returns an ImageSubresourceLayers covering the first mip level of the image. All aspects of the image are selected, or plane0 if the image is multi-planar. Read more
Returns an ImageSubresourceRange covering the whole image. If the image is multi-planar, only the color aspect is selected. Read more
Wraps around this ImageAccess and returns an identical ImageAccess but whose initial layout requirement is either Undefined or Preinitialized. Read more
Returns the wrapped image that this image view was created from.
Returns the component mapping of this view.
Returns whether the image view supports sampling with a Cubic mag_filter or min_filter. Read more
Returns whether the image view supports sampling with a Cubic mag_filter or min_filter, and with a Min or Max reduction_mode. Read more
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 sampler YCbCr conversion that this image view was created with, if any.
Returns the subresource range of the wrapped image that this view exposes.
Returns the usage of the image view.
Returns the ImageViewType of this image view.
Returns the dimensions of this view.
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more
The type of the object.
Returns a reference to the object.

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 alignment of pointer.
The type for initializers.
Initializes a with the given initializer. Read more
Dereferences the given pointer. Read more
Mutably dereferences the given pointer. Read more
Drops the object pointed to by the given pointer. Read more
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.