Struct vulkano::sync::PipelineStages
source · [−]pub struct PipelineStages {Show 19 fields
pub top_of_pipe: bool,
pub draw_indirect: bool,
pub vertex_input: bool,
pub vertex_shader: bool,
pub tessellation_control_shader: bool,
pub tessellation_evaluation_shader: bool,
pub geometry_shader: bool,
pub fragment_shader: bool,
pub early_fragment_tests: bool,
pub late_fragment_tests: bool,
pub color_attachment_output: bool,
pub compute_shader: bool,
pub transfer: bool,
pub bottom_of_pipe: bool,
pub host: bool,
pub all_graphics: bool,
pub all_commands: bool,
pub ray_tracing_shader: bool,
pub _ne: NonExhaustive,
}
Fields
top_of_pipe: bool
draw_indirect: bool
vertex_input: bool
vertex_shader: bool
tessellation_control_shader: bool
tessellation_evaluation_shader: bool
geometry_shader: bool
fragment_shader: bool
early_fragment_tests: bool
late_fragment_tests: bool
color_attachment_output: bool
compute_shader: bool
transfer: bool
bottom_of_pipe: bool
host: bool
all_graphics: bool
all_commands: bool
ray_tracing_shader: bool
_ne: NonExhaustive
Implementations
sourceimpl PipelineStages
impl PipelineStages
sourcepub const fn none() -> Self
👎Deprecated since 0.31.0: Use empty
instead.
pub const fn none() -> Self
Use empty
instead.
Returns a PipelineStages
with none of the flags set.
sourcepub const fn intersects(&self, other: &Self) -> bool
pub const fn intersects(&self, other: &Self) -> bool
Returns whether any flags are set in both self
and other
.
sourcepub const fn contains(&self, other: &Self) -> bool
pub const fn contains(&self, other: &Self) -> bool
Returns whether all flags in other
are set in self
.
sourcepub const fn intersection(&self, other: &Self) -> Self
pub const fn intersection(&self, other: &Self) -> Self
Returns the intersection of self
and other
.
sourcepub const fn difference(&self, other: &Self) -> Self
pub const fn difference(&self, other: &Self) -> Self
Returns self
without the flags set in other
.
sourcepub const fn symmetric_difference(&self, other: &Self) -> Self
pub const fn symmetric_difference(&self, other: &Self) -> Self
Returns the flags set in self
or other
, but not both.
sourceimpl PipelineStages
impl PipelineStages
sourcepub fn supported_access(&self) -> AccessFlags
pub fn supported_access(&self) -> AccessFlags
Returns the access types that are supported with the given pipeline stages.
Corresponds to the table “Supported access types” in the Vulkan specification.
Trait Implementations
sourceimpl BitAnd<PipelineStages> for PipelineStages
impl BitAnd<PipelineStages> for PipelineStages
type Output = PipelineStages
type Output = PipelineStages
The resulting type after applying the
&
operator.sourceimpl BitAndAssign<PipelineStages> for PipelineStages
impl BitAndAssign<PipelineStages> for PipelineStages
sourcefn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&=
operation. Read moresourceimpl BitOr<PipelineStages> for PipelineStages
impl BitOr<PipelineStages> for PipelineStages
type Output = PipelineStages
type Output = PipelineStages
The resulting type after applying the
|
operator.sourceimpl BitOrAssign<PipelineStages> for PipelineStages
impl BitOrAssign<PipelineStages> for PipelineStages
sourcefn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|=
operation. Read moresourceimpl BitXor<PipelineStages> for PipelineStages
impl BitXor<PipelineStages> for PipelineStages
type Output = PipelineStages
type Output = PipelineStages
The resulting type after applying the
^
operator.sourceimpl BitXorAssign<PipelineStages> for PipelineStages
impl BitXorAssign<PipelineStages> for PipelineStages
sourcefn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^=
operation. Read moresourceimpl Clone for PipelineStages
impl Clone for PipelineStages
sourcefn clone(&self) -> PipelineStages
fn clone(&self) -> PipelineStages
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for PipelineStages
impl Debug for PipelineStages
sourceimpl Default for PipelineStages
impl Default for PipelineStages
sourceimpl From<PipelineStageFlags2> for PipelineStages
impl From<PipelineStageFlags2> for PipelineStages
sourcefn from(val: PipelineStageFlags2) -> Self
fn from(val: PipelineStageFlags2) -> Self
Converts to this type from the input type.
sourceimpl From<PipelineStages> for PipelineStageFlags
impl From<PipelineStages> for PipelineStageFlags
sourcefn from(val: PipelineStages) -> Self
fn from(val: PipelineStages) -> Self
Converts to this type from the input type.
sourceimpl From<PipelineStages> for PipelineStageFlags2
impl From<PipelineStages> for PipelineStageFlags2
sourcefn from(val: PipelineStages) -> Self
fn from(val: PipelineStages) -> Self
Converts to this type from the input type.
sourceimpl From<ShaderStages> for PipelineStages
impl From<ShaderStages> for PipelineStages
sourcefn from(stages: ShaderStages) -> PipelineStages
fn from(stages: ShaderStages) -> PipelineStages
Converts to this type from the input type.
sourceimpl Hash for PipelineStages
impl Hash for PipelineStages
sourceimpl PartialEq<PipelineStages> for PipelineStages
impl PartialEq<PipelineStages> for PipelineStages
sourcefn eq(&self, other: &PipelineStages) -> bool
fn eq(&self, other: &PipelineStages) -> bool
sourceimpl Sub<PipelineStages> for PipelineStages
impl Sub<PipelineStages> for PipelineStages
type Output = PipelineStages
type Output = PipelineStages
The resulting type after applying the
-
operator.sourceimpl SubAssign<PipelineStages> for PipelineStages
impl SubAssign<PipelineStages> for PipelineStages
sourcefn sub_assign(&mut self, rhs: Self)
fn sub_assign(&mut self, rhs: Self)
Performs the
-=
operation. Read moreimpl Copy for PipelineStages
impl Eq for PipelineStages
impl StructuralEq for PipelineStages
impl StructuralPartialEq for PipelineStages
Auto Trait Implementations
impl RefUnwindSafe for PipelineStages
impl Send for PipelineStages
impl Sync for PipelineStages
impl Unpin for PipelineStages
impl UnwindSafe for PipelineStages
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more