[−][src]Struct gfx_hal::pso::PipelineStage
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][−]
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 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 Binary for PipelineStage
[src][+]
impl BitAnd<PipelineStage> for PipelineStage
[src][+]
impl BitAndAssign<PipelineStage> for PipelineStage
[src][+]
impl BitOr<PipelineStage> for PipelineStage
[src][+]
impl BitOrAssign<PipelineStage> for PipelineStage
[src][+]
impl BitXor<PipelineStage> for PipelineStage
[src][+]
impl BitXorAssign<PipelineStage> for PipelineStage
[src][+]
impl Clone for PipelineStage
[src][+]
impl Copy for PipelineStage
[src]
impl Debug for PipelineStage
[src][+]
impl Eq for PipelineStage
[src]
impl Extend<PipelineStage> for PipelineStage
[src][+]
impl FromIterator<PipelineStage> for PipelineStage
[src][+]
impl Hash for PipelineStage
[src][+]
impl LowerHex for PipelineStage
[src][+]
impl Not for PipelineStage
[src][+]
impl Octal for PipelineStage
[src][+]
impl Ord for PipelineStage
[src][+]
impl PartialEq<PipelineStage> for PipelineStage
[src][+]
impl PartialOrd<PipelineStage> for PipelineStage
[src][+]
impl StructuralEq for PipelineStage
[src]
impl StructuralPartialEq for PipelineStage
[src]
impl Sub<PipelineStage> for PipelineStage
[src][+]
impl SubAssign<PipelineStage> for PipelineStage
[src][+]
impl UpperHex for PipelineStage
[src][+]
Auto Trait Implementations
impl RefUnwindSafe for PipelineStage
impl Send for PipelineStage
impl Sync for PipelineStage
impl Unpin for PipelineStage
impl UnwindSafe for PipelineStage
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,