[−][src]Struct vulkano::image::immutable::ImmutableImageInitialization
Trait Implementations
impl<F, A> ImageAccess for ImmutableImageInitialization<F, A> where
F: 'static + Send + Sync,
[src]
F: 'static + Send + Sync,
fn inner(&self) -> ImageInner
[src]
fn initial_layout_requirement(&self) -> ImageLayout
[src]
fn final_layout_requirement(&self) -> ImageLayout
[src]
fn conflicts_buffer(&self, other: &dyn BufferAccess) -> bool
[src]
fn conflicts_image(&self, other: &dyn ImageAccess) -> bool
[src]
fn conflict_key(&self) -> u64
[src]
fn try_gpu_lock(
&self,
_: bool,
expected_layout: ImageLayout
) -> Result<(), AccessError>
[src]
&self,
_: bool,
expected_layout: ImageLayout
) -> Result<(), AccessError>
unsafe fn increase_gpu_lock(&self)
[src]
unsafe fn unlock(&self, new_layout: Option<ImageLayout>)
[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> where
Self: Sized,
[src]
self,
preinitialized: bool
) -> ImageAccessFromUndefinedLayout<Self> where
Self: Sized,
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<F, A> Send for ImmutableImageInitialization<F, A> where
A: Send + Sync,
F: Send + Sync,
A: Send + Sync,
F: Send + Sync,
impl<F, A> Unpin for ImmutableImageInitialization<F, A>
impl<F, A> Sync for ImmutableImageInitialization<F, A> where
A: Send + Sync,
F: Send + Sync,
A: Send + Sync,
F: Send + Sync,
impl<F, A> RefUnwindSafe for ImmutableImageInitialization<F, A> where
A: RefUnwindSafe,
F: RefUnwindSafe,
A: RefUnwindSafe,
F: RefUnwindSafe,
impl<F, A> UnwindSafe for ImmutableImageInitialization<F, A> where
A: RefUnwindSafe,
F: RefUnwindSafe,
A: RefUnwindSafe,
F: RefUnwindSafe,
Blanket Implementations
impl<T> ImageAccess for T where
T: SafeDeref,
<T as Deref>::Target: ImageAccess,
[src]
T: SafeDeref,
<T as Deref>::Target: ImageAccess,
fn inner(&Self) -> ImageInner
[src]
fn initial_layout_requirement(&Self) -> ImageLayout
[src]
fn final_layout_requirement(&Self) -> ImageLayout
[src]
fn conflicts_buffer(&Self, &dyn BufferAccess) -> bool
[src]
fn conflicts_image(&Self, &dyn ImageAccess) -> bool
[src]
fn conflict_key(&Self) -> u64
[src]
fn try_gpu_lock(&Self, bool, ImageLayout) -> Result<(), AccessError>
[src]
unsafe fn increase_gpu_lock(&Self)
[src]
unsafe fn unlock(&Self, Option<ImageLayout>)
[src]
unsafe fn layout_initialized(&Self)
[src]
fn is_layout_initialized(&Self) -> bool
[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> where
Self: Sized,
[src]
self,
preinitialized: bool
) -> ImageAccessFromUndefinedLayout<Self> where
Self: Sized,
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]
fn ref_from_ptr(*mut c_void, usize) -> Option<*mut T>
[src]
fn is_size_suitable(usize) -> bool
[src]
fn indiv_size() -> usize
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,