pub struct ImageMemoryBarrier2<'r>(/* private fields */);
Available on crate feature
VK_KHR_synchronization2
only.Implementations§
Source§impl<'r> ImageMemoryBarrier2<'r>
impl<'r> ImageMemoryBarrier2<'r>
pub fn new( image: &'r (impl VkHandle<Handle = VkImage> + ?Sized), subresource_range: VkImageSubresourceRange, ) -> Self
pub const fn from( self, stage: PipelineStageFlags2, access: AccessFlags2, ) -> Self
pub const fn to(self, stage: PipelineStageFlags2, access: AccessFlags2) -> Self
pub const fn of_execution( self, src: PipelineStageFlags2, dst: PipelineStageFlags2, ) -> Self
pub const fn of_memory(self, src: AccessFlags2, dst: AccessFlags2) -> Self
pub const fn transferring_layout( self, from: ImageLayout, to: ImageLayout, ) -> Self
pub const fn transit_from(self, trans: LayoutTransition) -> Self
pub const fn transit_to(self, trans: LayoutTransition) -> Self
pub const fn transferring_queue_family(self, from: u32, to: u32) -> Self
Trait Implementations§
Source§impl<'r> Clone for ImageMemoryBarrier2<'r>
impl<'r> Clone for ImageMemoryBarrier2<'r>
Source§fn clone(&self) -> ImageMemoryBarrier2<'r>
fn clone(&self) -> ImageMemoryBarrier2<'r>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl<'r> Freeze for ImageMemoryBarrier2<'r>
impl<'r> !RefUnwindSafe for ImageMemoryBarrier2<'r>
impl<'r> !Send for ImageMemoryBarrier2<'r>
impl<'r> !Sync for ImageMemoryBarrier2<'r>
impl<'r> Unpin for ImageMemoryBarrier2<'r>
impl<'r> !UnwindSafe for ImageMemoryBarrier2<'r>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more