#[repr(transparent)]pub struct PipelineStageFlags(_);Expand description
Implementations
sourceimpl PipelineStageFlags
impl PipelineStageFlags
pub const fn empty() -> PipelineStageFlags
pub const fn from_raw(x: u32) -> PipelineStageFlags
pub const fn as_raw(self) -> u32
pub const fn is_empty(self) -> bool
pub const fn intersects(self, other: PipelineStageFlags) -> bool
sourcepub const fn contains(self, other: PipelineStageFlags) -> bool
pub const fn contains(self, other: PipelineStageFlags) -> bool
Returns whether other is a subset of self
sourceimpl PipelineStageFlags
impl PipelineStageFlags
sourcepub const TOP_OF_PIPE: PipelineStageFlags = Self(1)
pub const TOP_OF_PIPE: PipelineStageFlags = Self(1)
Before subsequent commands are processed
sourcepub const DRAW_INDIRECT: PipelineStageFlags = Self(2)
pub const DRAW_INDIRECT: PipelineStageFlags = Self(2)
Draw/DispatchIndirect command fetch
sourcepub const VERTEX_INPUT: PipelineStageFlags = Self(4)
pub const VERTEX_INPUT: PipelineStageFlags = Self(4)
Vertex/index fetch
sourcepub const VERTEX_SHADER: PipelineStageFlags = Self(8)
pub const VERTEX_SHADER: PipelineStageFlags = Self(8)
Vertex shading
sourcepub const TESSELLATION_CONTROL_SHADER: PipelineStageFlags = Self(16)
pub const TESSELLATION_CONTROL_SHADER: PipelineStageFlags = Self(16)
Tessellation control shading
sourcepub const TESSELLATION_EVALUATION_SHADER: PipelineStageFlags = Self(32)
pub const TESSELLATION_EVALUATION_SHADER: PipelineStageFlags = Self(32)
Tessellation evaluation shading
sourcepub const GEOMETRY_SHADER: PipelineStageFlags = Self(64)
pub const GEOMETRY_SHADER: PipelineStageFlags = Self(64)
Geometry shading
sourcepub const FRAGMENT_SHADER: PipelineStageFlags = Self(128)
pub const FRAGMENT_SHADER: PipelineStageFlags = Self(128)
Fragment shading
sourcepub const EARLY_FRAGMENT_TESTS: PipelineStageFlags = Self(256)
pub const EARLY_FRAGMENT_TESTS: PipelineStageFlags = Self(256)
Early fragment (depth and stencil) tests
sourcepub const LATE_FRAGMENT_TESTS: PipelineStageFlags = Self(512)
pub const LATE_FRAGMENT_TESTS: PipelineStageFlags = Self(512)
Late fragment (depth and stencil) tests
sourcepub const COLOR_ATTACHMENT_OUTPUT: PipelineStageFlags = Self(1024)
pub const COLOR_ATTACHMENT_OUTPUT: PipelineStageFlags = Self(1024)
Color attachment writes
sourcepub const COMPUTE_SHADER: PipelineStageFlags = Self(2048)
pub const COMPUTE_SHADER: PipelineStageFlags = Self(2048)
Compute shading
sourcepub const TRANSFER: PipelineStageFlags = Self(4096)
pub const TRANSFER: PipelineStageFlags = Self(4096)
Transfer/copy operations
sourcepub const BOTTOM_OF_PIPE: PipelineStageFlags = Self(8192)
pub const BOTTOM_OF_PIPE: PipelineStageFlags = Self(8192)
After previous commands have completed
sourcepub const HOST: PipelineStageFlags = Self(16384)
pub const HOST: PipelineStageFlags = Self(16384)
Indicates host (CPU) is a source/sink of the dependency
sourcepub const ALL_GRAPHICS: PipelineStageFlags = Self(32768)
pub const ALL_GRAPHICS: PipelineStageFlags = Self(32768)
All stages of the graphics pipeline
sourcepub const ALL_COMMANDS: PipelineStageFlags = Self(65536)
pub const ALL_COMMANDS: PipelineStageFlags = Self(65536)
All stages supported on the queue
sourceimpl PipelineStageFlags
impl PipelineStageFlags
Generated from ‘VK_EXT_transform_feedback’
pub const TRANSFORM_FEEDBACK_EXT: PipelineStageFlags = Self(16777216)
sourceimpl PipelineStageFlags
impl PipelineStageFlags
Generated from ‘VK_EXT_conditional_rendering’
sourcepub const CONDITIONAL_RENDERING_EXT: PipelineStageFlags = Self(262144)
pub const CONDITIONAL_RENDERING_EXT: PipelineStageFlags = Self(262144)
A pipeline stage for conditional rendering predicate fetch
sourceimpl PipelineStageFlags
impl PipelineStageFlags
Generated from ‘VK_KHR_acceleration_structure’
pub const ACCELERATION_STRUCTURE_BUILD_KHR: PipelineStageFlags = Self(33554432)
sourceimpl PipelineStageFlags
impl PipelineStageFlags
Generated from ‘VK_KHR_ray_tracing_pipeline’
pub const RAY_TRACING_SHADER_KHR: PipelineStageFlags = Self(2097152)
sourceimpl PipelineStageFlags
impl PipelineStageFlags
Generated from ‘VK_NV_shading_rate_image’
pub const SHADING_RATE_IMAGE_NV: PipelineStageFlags = Self::FRAGMENT_SHADING_RATE_ATTACHMENT_KHR
sourceimpl PipelineStageFlags
impl PipelineStageFlags
Generated from ‘VK_NV_ray_tracing’
pub const RAY_TRACING_SHADER_NV: PipelineStageFlags = Self::RAY_TRACING_SHADER_KHR
pub const ACCELERATION_STRUCTURE_BUILD_NV: PipelineStageFlags = Self::ACCELERATION_STRUCTURE_BUILD_KHR
sourceimpl PipelineStageFlags
impl PipelineStageFlags
Generated from ‘VK_NV_mesh_shader’
pub const TASK_SHADER_NV: PipelineStageFlags = Self(524288)
pub const MESH_SHADER_NV: PipelineStageFlags = Self(1048576)
sourceimpl PipelineStageFlags
impl PipelineStageFlags
Generated from ‘VK_EXT_fragment_density_map’
pub const FRAGMENT_DENSITY_PROCESS_EXT: PipelineStageFlags = Self(8388608)
sourceimpl PipelineStageFlags
impl PipelineStageFlags
Generated from ‘VK_KHR_fragment_shading_rate’
pub const FRAGMENT_SHADING_RATE_ATTACHMENT_KHR: PipelineStageFlags = Self(4194304)
sourceimpl PipelineStageFlags
impl PipelineStageFlags
Generated from ‘VK_NV_device_generated_commands’
pub const COMMAND_PREPROCESS_NV: PipelineStageFlags = Self(131072)
sourceimpl PipelineStageFlags
impl PipelineStageFlags
Generated from ‘VK_KHR_synchronization2’
pub const NONE_KHR: PipelineStageFlags = Self::NONE
sourceimpl PipelineStageFlags
impl PipelineStageFlags
Generated from ‘VK_VERSION_1_3’
pub const NONE: PipelineStageFlags = Self(0)
Trait Implementations
sourceimpl BitAnd<PipelineStageFlags> for PipelineStageFlags
impl BitAnd<PipelineStageFlags> for PipelineStageFlags
type Output = PipelineStageFlags
type Output = PipelineStageFlags
The resulting type after applying the & operator.
sourcefn bitand(self, rhs: PipelineStageFlags) -> PipelineStageFlags
fn bitand(self, rhs: PipelineStageFlags) -> PipelineStageFlags
Performs the & operation. Read more
sourceimpl BitAndAssign<PipelineStageFlags> for PipelineStageFlags
impl BitAndAssign<PipelineStageFlags> for PipelineStageFlags
sourcefn bitand_assign(&mut self, rhs: PipelineStageFlags)
fn bitand_assign(&mut self, rhs: PipelineStageFlags)
Performs the &= operation. Read more
sourceimpl BitOr<PipelineStageFlags> for PipelineStageFlags
impl BitOr<PipelineStageFlags> for PipelineStageFlags
type Output = PipelineStageFlags
type Output = PipelineStageFlags
The resulting type after applying the | operator.
sourcefn bitor(self, rhs: PipelineStageFlags) -> PipelineStageFlags
fn bitor(self, rhs: PipelineStageFlags) -> PipelineStageFlags
Performs the | operation. Read more
sourceimpl BitOrAssign<PipelineStageFlags> for PipelineStageFlags
impl BitOrAssign<PipelineStageFlags> for PipelineStageFlags
sourcefn bitor_assign(&mut self, rhs: PipelineStageFlags)
fn bitor_assign(&mut self, rhs: PipelineStageFlags)
Performs the |= operation. Read more
sourceimpl BitXor<PipelineStageFlags> for PipelineStageFlags
impl BitXor<PipelineStageFlags> for PipelineStageFlags
type Output = PipelineStageFlags
type Output = PipelineStageFlags
The resulting type after applying the ^ operator.
sourcefn bitxor(self, rhs: PipelineStageFlags) -> PipelineStageFlags
fn bitxor(self, rhs: PipelineStageFlags) -> PipelineStageFlags
Performs the ^ operation. Read more
sourceimpl BitXorAssign<PipelineStageFlags> for PipelineStageFlags
impl BitXorAssign<PipelineStageFlags> for PipelineStageFlags
sourcefn bitxor_assign(&mut self, rhs: PipelineStageFlags)
fn bitxor_assign(&mut self, rhs: PipelineStageFlags)
Performs the ^= operation. Read more
sourceimpl Clone for PipelineStageFlags
impl Clone for PipelineStageFlags
sourcefn clone(&self) -> PipelineStageFlags
fn clone(&self) -> PipelineStageFlags
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 more
sourceimpl Debug for PipelineStageFlags
impl Debug for PipelineStageFlags
sourceimpl Default for PipelineStageFlags
impl Default for PipelineStageFlags
sourcefn default() -> PipelineStageFlags
fn default() -> PipelineStageFlags
Returns the “default value” for a type. Read more
sourceimpl Hash for PipelineStageFlags
impl Hash for PipelineStageFlags
sourceimpl Not for PipelineStageFlags
impl Not for PipelineStageFlags
type Output = PipelineStageFlags
type Output = PipelineStageFlags
The resulting type after applying the ! operator.
sourcefn not(self) -> PipelineStageFlags
fn not(self) -> PipelineStageFlags
Performs the unary ! operation. Read more
sourceimpl Ord for PipelineStageFlags
impl Ord for PipelineStageFlags
sourceimpl PartialEq<PipelineStageFlags> for PipelineStageFlags
impl PartialEq<PipelineStageFlags> for PipelineStageFlags
sourcefn eq(&self, other: &PipelineStageFlags) -> bool
fn eq(&self, other: &PipelineStageFlags) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &PipelineStageFlags) -> bool
fn ne(&self, other: &PipelineStageFlags) -> bool
This method tests for !=.
sourceimpl PartialOrd<PipelineStageFlags> for PipelineStageFlags
impl PartialOrd<PipelineStageFlags> for PipelineStageFlags
sourcefn partial_cmp(&self, other: &PipelineStageFlags) -> Option<Ordering>
fn partial_cmp(&self, other: &PipelineStageFlags) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
impl Copy for PipelineStageFlags
impl Eq for PipelineStageFlags
impl StructuralEq for PipelineStageFlags
impl StructuralPartialEq for PipelineStageFlags
Auto Trait Implementations
impl RefUnwindSafe for PipelineStageFlags
impl Send for PipelineStageFlags
impl Sync for PipelineStageFlags
impl Unpin for PipelineStageFlags
impl UnwindSafe for PipelineStageFlags
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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