Enum sierra::ShaderStage
source · pub enum ShaderStage {
Vertex,
TessellationControl,
TessellationEvaluation,
Geometry,
Fragment,
Compute,
Raygen,
AnyHit,
ClosestHit,
Miss,
Intersection,
}
Variants§
Vertex
TessellationControl
TessellationEvaluation
Geometry
Fragment
Compute
Raygen
AnyHit
ClosestHit
Miss
Intersection
Implementations§
source§impl ShaderStage
impl ShaderStage
pub fn flag(&self) -> ShaderStageFlags
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 Display for ShaderStage
impl Display for ShaderStage
source§impl From<ShaderStage> for ShaderStageFlags
impl From<ShaderStage> for ShaderStageFlags
source§fn from(stage: ShaderStage) -> Self
fn from(stage: ShaderStage) -> Self
Converts to this type from the input type.
source§impl Hash for ShaderStage
impl Hash for ShaderStage
source§impl PartialEq<ShaderStage> for ShaderStage
impl PartialEq<ShaderStage> for ShaderStage
source§fn eq(&self, other: &ShaderStage) -> bool
fn eq(&self, other: &ShaderStage) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.