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]

[src]

Formats the value using the given formatter. Read more

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

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

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

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

[src]

Returns the inner unsafe image object used by this image.

[src]

Returns the layout that the image has when it is first used in a primary command buffer. Read more

[src]

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

[src]

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

[src]

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

[src]

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

[src]

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

[src]

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

[src]

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

[src]

Returns the format of this image.

[src]

Returns true if the image is a color image.

[src]

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

[src]

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

[src]

Returns the number of mipmap levels of this image.

[src]

Returns the number of samples of this image.

[src]

Returns the dimensions of the image.

[src]

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

[src]

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

[src]

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

Auto Trait Implementations

impl<I> Send for ImageAccessFromUndefinedLayout<I> where
    I: Send

impl<I> Sync for ImageAccessFromUndefinedLayout<I> where
    I: Sync