Enum grr::ShaderStage
source · pub enum ShaderStage {
Vertex,
TessellationControl,
TessellationEvaluation,
Geometry,
Fragment,
Compute,
}
Expand description
Shader Stages.
Each Shader
has an associated stage in the pipeline.
See GraphicsPipelineDesc
for more details about graphics pipeline stages.
Variants
Vertex
Vertex stage.
TessellationControl
Tessellation (Control) stage.
TessellationEvaluation
Tessellation (Evaluation) stage.
Geometry
Geometry stage.
Fragment
Fragment stage.
Compute
Compute stage.
Trait Implementations
sourceimpl Clone for ShaderStage
impl Clone for ShaderStage
sourcefn clone(&self) -> ShaderStage
fn clone(&self) -> ShaderStage
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 moresourceimpl Debug for ShaderStage
impl Debug for ShaderStage
impl Copy for ShaderStage
Auto Trait Implementations
impl RefUnwindSafe for ShaderStage
impl Send for ShaderStage
impl Sync for ShaderStage
impl Unpin for ShaderStage
impl UnwindSafe for ShaderStage
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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