Enum nannou::ui::backend::glium::glium::program::ShaderStage [−][src]
pub enum ShaderStage { Vertex, Fragment, TessellationControl, TessellationEvaluation, Geometry, }
The different stages of the program pipeline.
Variants
Vertex
Fragment
TessellationControl
TessellationEvaluation
Geometry
Methods
impl ShaderStage
[src]
impl ShaderStage
pub fn to_gl_enum(&self) -> u32
[src]
pub fn to_gl_enum(&self) -> u32
Converts the ShaderStage
to its GLenum equivalent
Trait Implementations
impl Hash for ShaderStage
[src]
impl Hash for ShaderStage
fn hash<__H>(&self, state: &mut __H) where
__H: Hasher,
[src]
fn hash<__H>(&self, state: &mut __H) where
__H: Hasher,
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
[src]Feeds a slice of this type into the given [Hasher
]. Read more
impl Clone for ShaderStage
[src]
impl Clone for ShaderStage
fn clone(&self) -> ShaderStage
[src]
fn clone(&self) -> ShaderStage
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for ShaderStage
[src]
impl Debug for ShaderStage
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Copy for ShaderStage
[src]
impl Copy for ShaderStage
impl Eq for ShaderStage
[src]
impl Eq for ShaderStage
impl PartialEq<ShaderStage> for ShaderStage
[src]
impl PartialEq<ShaderStage> for ShaderStage
Auto Trait Implementations
impl Send for ShaderStage
impl Send for ShaderStage
impl Sync for ShaderStage
impl Sync for ShaderStage