Struct vulkano::image::traits::ImageAccessFromUndefinedLayout [] [src]

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

Wraps around an object that implements ImageAccess and modifies the initial layout requirement to be either Undefined or Preinitialized.

Trait Implementations

impl<I: Debug> Debug for ImageAccessFromUndefinedLayout<I>
[src]

Formats the value using the given formatter.

impl<I: Copy> Copy for ImageAccessFromUndefinedLayout<I>
[src]

impl<I: Clone> Clone for ImageAccessFromUndefinedLayout<I>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<I> ImageAccess for ImageAccessFromUndefinedLayout<I> where
    I: ImageAccess
[src]

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.

Returns the layout that the image must be returned to before the end of the command buffer.

Returns a key that uniquely identifies the range given by first_layer/num_layers/first_mipmap/num_mipmaps. Read more

Locks the resource for usage on the GPU. Returns false if the lock was already 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

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.

Wraps around this ImageAccess and returns an identical ImageAccess but whose initial layout requirement is either Undefined or Preinitialized. Read more

Returns true if an access to self (as defined by self_first_layer, self_num_layers, self_first_mipmap and self_num_mipmaps) potentially overlaps the same memory as an access to other (as defined by other_offset and other_size). Read more

Returns true if an access to self (as defined by self_first_layer, self_num_layers, self_first_mipmap and self_num_mipmaps) potentially overlaps the same memory as an access to other (as defined by other_first_layer, other_num_layers, other_first_mipmap and other_num_mipmaps). Read more

Shortcut for conflicts_buffer that compares the whole buffer to another.

Shortcut for conflicts_image that compares the whole buffer to a whole image.

Shortcut for conflict_key that grabs the key of the whole buffer.