Enum glium::program::ShaderStage
[−]
[src]
pub enum ShaderStage {
Vertex,
Fragment,
TessellationControl,
TessellationEvaluation,
Geometry,
}The different stages of the program pipeline.
Variants
VertexFragmentTessellationControlTessellationEvaluationGeometryMethods
impl ShaderStage[src]
fn to_gl_enum(&self) -> GLenum
Converts the ShaderStage to its GLenum equivalent
Trait Implementations
impl Hash for ShaderStage[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher1.3.0
Feeds a slice of this type into the state provided.
impl Eq for ShaderStage[src]
impl PartialEq for ShaderStage[src]
fn eq(&self, __arg_0: &ShaderStage) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0
This method tests for !=.
impl Clone for ShaderStage[src]
fn clone(&self) -> ShaderStage
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more