[−][src]Struct nannou::vk::ImageAccessFromUndefinedLayout
Wraps around an object that implements ImageAccess
and modifies the initial layout
requirement to be either Undefined
or Preinitialized
.
Trait Implementations
impl<I> Clone for ImageAccessFromUndefinedLayout<I> where
I: Clone,
[src]
I: Clone,
fn clone(&self) -> ImageAccessFromUndefinedLayout<I>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<I> Copy for ImageAccessFromUndefinedLayout<I> where
I: Copy,
[src]
I: Copy,
impl<I> Debug for ImageAccessFromUndefinedLayout<I> where
I: Debug,
[src]
I: Debug,
impl<I> ImageAccess for ImageAccessFromUndefinedLayout<I> where
I: ImageAccess,
[src]
I: ImageAccess,
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,
exclusive_access: bool,
expected_layout: ImageLayout
) -> Result<(), AccessError>
[src]
&self,
exclusive_access: 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]
fn has_color(&self) -> bool
[src]
fn has_depth(&self) -> bool
[src]
fn has_stencil(&self) -> bool
[src]
fn mipmap_levels(&self) -> u32
[src]
fn samples(&self) -> u32
[src]
fn dimensions(&self) -> ImageDimensions
[src]
fn supports_blit_source(&self) -> bool
[src]
fn supports_blit_destination(&self) -> bool
[src]
unsafe fn layout_initialized(&self)
[src]
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]
self,
preinitialized: bool
) -> ImageAccessFromUndefinedLayout<Self>
Auto Trait Implementations
impl<I> Send for ImageAccessFromUndefinedLayout<I> where
I: Send,
I: Send,
impl<I> Unpin for ImageAccessFromUndefinedLayout<I> where
I: Unpin,
I: Unpin,
impl<I> Sync for ImageAccessFromUndefinedLayout<I> where
I: Sync,
I: Sync,
impl<I> UnwindSafe for ImageAccessFromUndefinedLayout<I> where
I: UnwindSafe,
I: UnwindSafe,
impl<I> RefUnwindSafe for ImageAccessFromUndefinedLayout<I> where
I: RefUnwindSafe,
I: RefUnwindSafe,
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
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,
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, 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,
exclusive_access: bool,
expected_layout: ImageLayout
) -> Result<(), AccessError>
[src]
&self,
exclusive_access: bool,
expected_layout: ImageLayout
) -> Result<(), AccessError>
unsafe fn increase_gpu_lock(&self)
[src]
unsafe fn unlock(&self, transitioned_layout: Option<ImageLayout>)
[src]
unsafe fn layout_initialized(&self)
[src]
fn is_layout_initialized(&self) -> bool
[src]
fn format(&self) -> Format
[src]
fn has_color(&self) -> bool
[src]
fn has_depth(&self) -> bool
[src]
fn has_stencil(&self) -> bool
[src]
fn mipmap_levels(&self) -> u32
[src]
fn samples(&self) -> u32
[src]
fn dimensions(&self) -> ImageDimensions
[src]
fn supports_blit_source(&self) -> bool
[src]
fn supports_blit_destination(&self) -> bool
[src]
unsafe fn preinitialized_layout(&self) -> bool
[src]
unsafe fn forced_undefined_initial_layout(
self,
preinitialized: bool
) -> ImageAccessFromUndefinedLayout<Self>
[src]
self,
preinitialized: bool
) -> ImageAccessFromUndefinedLayout<Self>
impl<T> Content for T
[src]
fn ref_from_ptr(ptr: *mut c_void, size: usize) -> Option<*mut T>
[src]
fn is_size_suitable(size: usize) -> bool
[src]
fn indiv_size() -> usize
[src]
impl<T> SafeBorrow<T> for T
[src]
impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
D: AdaptFrom<S, Swp, Dwp, T>,
Dwp: WhitePoint,
Swp: WhitePoint,
T: Component + Float,
[src]
D: AdaptFrom<S, Swp, Dwp, T>,
Dwp: WhitePoint,
Swp: WhitePoint,
T: Component + Float,
fn adapt_into_using<M>(self, method: M) -> D where
M: TransformMatrix<Swp, Dwp, T>,
[src]
M: TransformMatrix<Swp, Dwp, T>,
fn adapt_into(self) -> D
[src]
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
T: Parameter<Self>,
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
T: Parameter<Self>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,