Struct gfx_hal::pso::PipelineStage [−][src]
pub struct PipelineStage { /* fields omitted */ }
Stages of the logical pipeline.
The pipeline is structured by the ordering of the flags. Some stages are queue type dependent.
Implementations
impl PipelineStage
[src]
impl PipelineStage
[src]pub const TOP_OF_PIPE: PipelineStage
[src]
Beginning of the command queue.
pub const DRAW_INDIRECT: PipelineStage
[src]
Indirect data consumption.
pub const VERTEX_INPUT: PipelineStage
[src]
Vertex data consumption.
pub const VERTEX_SHADER: PipelineStage
[src]
Vertex shader execution.
pub const HULL_SHADER: PipelineStage
[src]
Hull shader execution.
pub const DOMAIN_SHADER: PipelineStage
[src]
Domain shader execution.
pub const GEOMETRY_SHADER: PipelineStage
[src]
Geometry shader execution.
pub const FRAGMENT_SHADER: PipelineStage
[src]
Fragment shader execution.
pub const EARLY_FRAGMENT_TESTS: PipelineStage
[src]
Stage of early depth and stencil test.
pub const LATE_FRAGMENT_TESTS: PipelineStage
[src]
Stage of late depth and stencil test.
pub const COLOR_ATTACHMENT_OUTPUT: PipelineStage
[src]
Stage of final color value calculation.
pub const COMPUTE_SHADER: PipelineStage
[src]
Compute shader execution,
pub const TRANSFER: PipelineStage
[src]
Copy/Transfer command execution.
pub const BOTTOM_OF_PIPE: PipelineStage
[src]
End of the command queue.
pub const HOST: PipelineStage
[src]
Read/Write access from host. (Not a real pipeline stage)
pub const TASK_SHADER: PipelineStage
[src]
Task shader stage.
pub const MESH_SHADER: PipelineStage
[src]
Mesh shader stage.
pub const fn empty() -> PipelineStage
[src]
Returns an empty set of flags
pub const fn all() -> PipelineStage
[src]
Returns the set containing all flags.
pub const fn bits(&self) -> u32
[src]
Returns the raw value of the flags currently stored.
pub fn from_bits(bits: u32) -> Option<PipelineStage>
[src]
Convert from underlying bit representation, unless that representation contains bits that do not correspond to a flag.
pub const fn from_bits_truncate(bits: u32) -> PipelineStage
[src]
Convert from underlying bit representation, dropping any bits that do not correspond to flags.
pub const unsafe fn from_bits_unchecked(bits: u32) -> PipelineStage
[src]
Convert from underlying bit representation, preserving all bits (even those not corresponding to a defined flag).
pub const fn is_empty(&self) -> bool
[src]
Returns true
if no flags are currently stored.
pub const fn is_all(&self) -> bool
[src]
Returns true
if all flags are currently set.
pub const fn intersects(&self, other: PipelineStage) -> bool
[src]
Returns true
if there are flags common to both self
and other
.
pub const fn contains(&self, other: PipelineStage) -> bool
[src]
Returns true
all of the flags in other
are contained within self
.
pub fn insert(&mut self, other: PipelineStage)
[src]
Inserts the specified flags in-place.
pub fn remove(&mut self, other: PipelineStage)
[src]
Removes the specified flags in-place.
pub fn toggle(&mut self, other: PipelineStage)
[src]
Toggles the specified flags in-place.
pub fn set(&mut self, other: PipelineStage, value: bool)
[src]
Inserts or removes the specified flags depending on the passed value.
Trait Implementations
impl BitAnd<PipelineStage> for PipelineStage
[src]
impl BitAnd<PipelineStage> for PipelineStage
[src]type Output = PipelineStage
The resulting type after applying the &
operator.
fn bitand(self, other: PipelineStage) -> PipelineStage
[src]
Returns the intersection between the two sets of flags.
impl BitAndAssign<PipelineStage> for PipelineStage
[src]
impl BitAndAssign<PipelineStage> for PipelineStage
[src]fn bitand_assign(&mut self, other: PipelineStage)
[src]
Disables all flags disabled in the set.
impl BitOr<PipelineStage> for PipelineStage
[src]
impl BitOr<PipelineStage> for PipelineStage
[src]type Output = PipelineStage
The resulting type after applying the |
operator.
fn bitor(self, other: PipelineStage) -> PipelineStage
[src]
Returns the union of the two sets of flags.
impl BitOrAssign<PipelineStage> for PipelineStage
[src]
impl BitOrAssign<PipelineStage> for PipelineStage
[src]fn bitor_assign(&mut self, other: PipelineStage)
[src]
Adds the set of flags.
impl BitXor<PipelineStage> for PipelineStage
[src]
impl BitXor<PipelineStage> for PipelineStage
[src]type Output = PipelineStage
The resulting type after applying the ^
operator.
fn bitxor(self, other: PipelineStage) -> PipelineStage
[src]
Returns the left flags, but with all the right flags toggled.
impl BitXorAssign<PipelineStage> for PipelineStage
[src]
impl BitXorAssign<PipelineStage> for PipelineStage
[src]fn bitxor_assign(&mut self, other: PipelineStage)
[src]
Toggles the set of flags.
impl Clone for PipelineStage
[src]
impl Clone for PipelineStage
[src]fn clone(&self) -> PipelineStage
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for PipelineStage
[src]
impl Copy for PipelineStage
[src]impl Eq for PipelineStage
[src]
impl Eq for PipelineStage
[src]impl Extend<PipelineStage> for PipelineStage
[src]
impl Extend<PipelineStage> for PipelineStage
[src]fn extend<T: IntoIterator<Item = PipelineStage>>(&mut self, iterator: T)
[src]
pub fn extend_one(&mut self, item: A)
[src]
pub fn extend_reserve(&mut self, additional: usize)
[src]
impl FromIterator<PipelineStage> for PipelineStage
[src]
impl FromIterator<PipelineStage> for PipelineStage
[src]fn from_iter<T: IntoIterator<Item = PipelineStage>>(
iterator: T
) -> PipelineStage
[src]
iterator: T
) -> PipelineStage
impl Hash for PipelineStage
[src]
impl Hash for PipelineStage
[src]impl Not for PipelineStage
[src]
impl Not for PipelineStage
[src]type Output = PipelineStage
The resulting type after applying the !
operator.
fn not(self) -> PipelineStage
[src]
Returns the complement of this set of flags.
impl Ord for PipelineStage
[src]
impl Ord for PipelineStage
[src]impl PartialEq<PipelineStage> for PipelineStage
[src]
impl PartialEq<PipelineStage> for PipelineStage
[src]fn eq(&self, other: &PipelineStage) -> bool
[src]
fn ne(&self, other: &PipelineStage) -> bool
[src]
impl PartialOrd<PipelineStage> for PipelineStage
[src]
impl PartialOrd<PipelineStage> for PipelineStage
[src]fn partial_cmp(&self, other: &PipelineStage) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for PipelineStage
[src]
impl StructuralEq for PipelineStage
[src]impl StructuralPartialEq for PipelineStage
[src]
impl StructuralPartialEq for PipelineStage
[src]impl Sub<PipelineStage> for PipelineStage
[src]
impl Sub<PipelineStage> for PipelineStage
[src]type Output = PipelineStage
The resulting type after applying the -
operator.
fn sub(self, other: PipelineStage) -> PipelineStage
[src]
Returns the set difference of the two sets of flags.
impl SubAssign<PipelineStage> for PipelineStage
[src]
impl SubAssign<PipelineStage> for PipelineStage
[src]fn sub_assign(&mut self, other: PipelineStage)
[src]
Disables all flags enabled in the set.
Auto Trait Implementations
impl RefUnwindSafe for PipelineStage
impl RefUnwindSafe for PipelineStage
impl Send for PipelineStage
impl Send for PipelineStage
impl Sync for PipelineStage
impl Sync for PipelineStage
impl Unpin for PipelineStage
impl Unpin for PipelineStage
impl UnwindSafe for PipelineStage
impl UnwindSafe for PipelineStage