Enum spirv_to_dxil::ShaderStage
source · #[repr(i32)]pub enum ShaderStage {
None = -1,
Vertex = 0,
TesselationControl = 1,
TesselationEvaluation = 2,
Geometry = 3,
Fragment = 4,
Compute = 5,
Kernel = 14,
}
Expand description
The shader stage of the input.
Variants§
None = -1
Vertex = 0
TesselationControl = 1
TesselationEvaluation = 2
Geometry = 3
Fragment = 4
Compute = 5
Kernel = 14
Trait Implementations§
source§impl Clone for dxil_spirv_shader_stage
impl Clone for dxil_spirv_shader_stage
source§fn clone(&self) -> dxil_spirv_shader_stage
fn clone(&self) -> dxil_spirv_shader_stage
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 dxil_spirv_shader_stage
impl Debug for dxil_spirv_shader_stage
source§impl Hash for dxil_spirv_shader_stage
impl Hash for dxil_spirv_shader_stage
source§impl PartialEq for dxil_spirv_shader_stage
impl PartialEq for dxil_spirv_shader_stage
source§fn eq(&self, other: &dxil_spirv_shader_stage) -> bool
fn eq(&self, other: &dxil_spirv_shader_stage) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for dxil_spirv_shader_stage
impl Eq for dxil_spirv_shader_stage
impl StructuralPartialEq for dxil_spirv_shader_stage
Auto Trait Implementations§
impl RefUnwindSafe for dxil_spirv_shader_stage
impl Send for dxil_spirv_shader_stage
impl Sync for dxil_spirv_shader_stage
impl Unpin for dxil_spirv_shader_stage
impl UnwindSafe for dxil_spirv_shader_stage
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