pub enum PipelineBarrier {
StorageReadAfterWrite,
UniformReadAfterWrite,
Full,
None,
}Expand description
Specifies the type of pipeline barrier needed between passes.
Variants§
StorageReadAfterWrite
Ensure all writes to storage buffers are visible before reading.
UniformReadAfterWrite
Ensure all writes to uniform buffers are visible.
Full
Full barrier (all types).
None
No barrier needed.
Trait Implementations§
Source§impl Clone for PipelineBarrier
impl Clone for PipelineBarrier
Source§fn clone(&self) -> PipelineBarrier
fn clone(&self) -> PipelineBarrier
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 moreSource§impl Debug for PipelineBarrier
impl Debug for PipelineBarrier
Source§impl PartialEq for PipelineBarrier
impl PartialEq for PipelineBarrier
impl Eq for PipelineBarrier
impl StructuralPartialEq for PipelineBarrier
Auto Trait Implementations§
impl Freeze for PipelineBarrier
impl RefUnwindSafe for PipelineBarrier
impl Send for PipelineBarrier
impl Sync for PipelineBarrier
impl Unpin for PipelineBarrier
impl UnsafeUnpin for PipelineBarrier
impl UnwindSafe for PipelineBarrier
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more