Struct vulkano::sync::MemoryBarrier
source · pub struct MemoryBarrier {
pub src_stages: PipelineStages,
pub src_access: AccessFlags,
pub dst_stages: PipelineStages,
pub dst_access: AccessFlags,
pub _ne: NonExhaustive,
}
Expand description
A memory barrier that is applied globally.
Fields§
§src_stages: PipelineStages
The pipeline stages in the source scope to wait for.
The default value is PipelineStages::empty()
.
src_access: AccessFlags
The memory accesses in the source scope to make available and visible.
The default value is AccessFlags::empty()
.
dst_stages: PipelineStages
The pipeline stages in the destination scope that must wait for src_stages
.
The default value is PipelineStages::empty()
.
dst_access: AccessFlags
The memory accesses in the destination scope that must wait for src_access
to be made
available and visible.
_ne: NonExhaustive
Trait Implementations§
source§impl Clone for MemoryBarrier
impl Clone for MemoryBarrier
source§fn clone(&self) -> MemoryBarrier
fn clone(&self) -> MemoryBarrier
Returns a copy 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 moresource§impl Debug for MemoryBarrier
impl Debug for MemoryBarrier
Auto Trait Implementations§
impl RefUnwindSafe for MemoryBarrier
impl Send for MemoryBarrier
impl Sync for MemoryBarrier
impl Unpin for MemoryBarrier
impl UnwindSafe for MemoryBarrier
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