Enum glslang::ShaderStage
source · #[repr(i32)]pub enum ShaderStage {
Show 14 variants
Vertex = 0,
TesselationControl = 1,
TesselationEvaluation = 2,
Geometry = 3,
Fragment = 4,
Compute = 5,
RayGeneration = 6,
Intersect = 7,
AnyHit = 8,
ClosestHit = 9,
Miss = 10,
Callable = 11,
Task = 12,
Mesh = 13,
}
Expand description
Shader stages for the input.
Variants§
Vertex = 0
TesselationControl = 1
TesselationEvaluation = 2
Geometry = 3
Fragment = 4
Compute = 5
RayGeneration = 6
Intersect = 7
AnyHit = 8
ClosestHit = 9
Miss = 10
Callable = 11
Task = 12
Mesh = 13
Trait Implementations§
source§impl Clone for glslang_stage_t
impl Clone for glslang_stage_t
source§fn clone(&self) -> glslang_stage_t
fn clone(&self) -> glslang_stage_t
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 glslang_stage_t
impl Debug for glslang_stage_t
source§impl Hash for glslang_stage_t
impl Hash for glslang_stage_t
source§impl PartialEq for glslang_stage_t
impl PartialEq for glslang_stage_t
source§fn eq(&self, other: &glslang_stage_t) -> bool
fn eq(&self, other: &glslang_stage_t) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for glslang_stage_t
impl Eq for glslang_stage_t
impl StructuralPartialEq for glslang_stage_t
Auto Trait Implementations§
impl RefUnwindSafe for glslang_stage_t
impl Send for glslang_stage_t
impl Sync for glslang_stage_t
impl Unpin for glslang_stage_t
impl UnwindSafe for glslang_stage_t
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more