Enum vulkano::shader::ShaderStage
source · #[non_exhaustive]
#[repr(u32)]
pub enum ShaderStage {
Vertex,
TessellationControl,
TessellationEvaluation,
Geometry,
Fragment,
Compute,
Raygen,
AnyHit,
ClosestHit,
Miss,
Intersection,
Callable,
}
Expand description
A single shader stage.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Vertex
TessellationControl
TessellationEvaluation
Geometry
Fragment
Compute
Raygen
AnyHit
ClosestHit
Miss
Intersection
Callable
Trait Implementations§
source§impl Clone for ShaderStage
impl Clone for ShaderStage
source§fn clone(&self) -> ShaderStage
fn clone(&self) -> ShaderStage
Returns a copy 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 ShaderStage
impl Debug for ShaderStage
source§impl From<ShaderExecution> for ShaderStage
impl From<ShaderExecution> for ShaderStage
source§fn from(val: ShaderExecution) -> Self
fn from(val: ShaderExecution) -> Self
Converts to this type from the input type.
source§impl From<ShaderStage> for ShaderStageFlags
impl From<ShaderStage> for ShaderStageFlags
source§fn from(val: ShaderStage) -> Self
fn from(val: ShaderStage) -> Self
Converts to this type from the input type.
source§impl From<ShaderStage> for ShaderStages
impl From<ShaderStage> for ShaderStages
source§fn from(val: ShaderStage) -> Self
fn from(val: ShaderStage) -> Self
Converts to this type from the input type.