[][src]Struct nannou::vk::ImageAccessFromUndefinedLayout

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> Copy for ImageAccessFromUndefinedLayout<I> where
    I: Copy
[src]

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

fn format(&self) -> Format[src]

Returns the format of this image.

fn has_color(&self) -> bool[src]

Returns true if the image is a color image.

fn has_depth(&self) -> bool[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

fn has_stencil(&self) -> bool[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

fn mipmap_levels(&self) -> u32[src]

Returns the number of mipmap levels of this image.

fn samples(&self) -> u32[src]

Returns the number of samples of this image.

fn dimensions(&self) -> ImageDimensions[src]

Returns the dimensions of the image.

fn supports_blit_source(&self) -> bool[src]

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

fn supports_blit_destination(&self) -> bool[src]

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

unsafe fn layout_initialized(&self)[src]

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

fn is_layout_initialized(&self) -> bool[src]

unsafe fn preinitialized_layout(&self) -> bool[src]

unsafe fn forced_undefined_initial_layout(
    self,
    preinitialized: bool
) -> ImageAccessFromUndefinedLayout<Self>
[src]

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

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

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

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

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

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

Blanket Implementations

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> ImageAccess for T where
    T: SafeDeref,
    <T as Deref>::Target: ImageAccess
[src]

fn format(&self) -> Format[src]

Returns the format of this image.

fn has_color(&self) -> bool[src]

Returns true if the image is a color image.

fn has_depth(&self) -> bool[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

fn has_stencil(&self) -> bool[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

fn mipmap_levels(&self) -> u32[src]

Returns the number of mipmap levels of this image.

fn samples(&self) -> u32[src]

Returns the number of samples of this image.

fn dimensions(&self) -> ImageDimensions[src]

Returns the dimensions of the image.

fn supports_blit_source(&self) -> bool[src]

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

fn supports_blit_destination(&self) -> bool[src]

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

unsafe fn preinitialized_layout(&self) -> bool[src]

unsafe fn forced_undefined_initial_layout(
    self,
    preinitialized: bool
) -> ImageAccessFromUndefinedLayout<Self>
[src]

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

impl<T> Content for T[src]

impl<T> SafeBorrow<T> for T[src]

impl<T> Erased for T

impl<S> FromSample<S> for S[src]

impl<T, U> ToSample<U> for T where
    U: FromSample<T>, 
[src]

impl<S, T> Duplex<S> for T where
    T: FromSample<S> + ToSample<S>, 
[src]

impl<T> SetParameter for T

fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
    T: Parameter<Self>, 

Sets value as a parameter of self.

impl<T> SetParameter for T

fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
    T: Parameter<Self>, 

Sets value as a parameter of self.