Struct ilmenite::image_view::ImtImageView[][src]

pub struct ImtImageView { /* fields omitted */ }

Implementations

Create a clone of this view that is intented to be temporary. This method will return a clone of this view along with an AtomicBool. The AtomicBool will be set to false when the cloned copy is dropped.

Check whether this view is temporary. In the case it is the method that provided this view intended for it be dropped after use.

Trait Implementations

Executes the destructor for this type. Read more

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

Returns true if an access to self potentially overlaps the same memory as an access to other. Read more

Returns true if an access to self potentially overlaps the same memory as an access to other. Read more

Returns a key that uniquely identifies the memory content of the image. Two ranges that potentially overlap in memory must return the same key. Read more

Returns the current mip level that is accessed by the gpu

Returns the current layer level that is accessed by the gpu

Locks the resource for usage on the GPU. Returns an error if the lock can’t be acquired. Read more

Locks the resource for usage on the GPU. Supposes that the resource is already locked, and simply increases the lock by one. Read more

Unlocks the resource previously acquired with try_gpu_lock or increase_gpu_lock. Read more

Returns the format of this image.

Returns true if the image is a color image.

Returns true if the image has a depth component. In other words, if it is a depth or a depth-stencil format. Read more

Returns true if the image has a stencil component. In other words, if it is a stencil or a depth-stencil format. Read more

Returns the number of mipmap levels of this image.

Returns the number of samples of this image.

Returns the dimensions of the image.

Returns true if the image can be used as a source for blits.

Returns true if the image can be used as a destination for blits.

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

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 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 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.