[][src]Enum glium::program::ShaderStage

pub enum ShaderStage {
    Vertex,
    Fragment,
    TessellationControl,
    TessellationEvaluation,
    Geometry,
}

The different stages of the program pipeline.

Variants

Vertex
Fragment
TessellationControl
TessellationEvaluation
Geometry

Implementations

impl ShaderStage[src]

pub fn to_gl_enum(&self) -> c_uint[src]

Converts the ShaderStage to its GLenum equivalent

Trait Implementations

impl Clone for ShaderStage[src]

impl Copy for ShaderStage[src]

impl Debug for ShaderStage[src]

impl Eq for ShaderStage[src]

impl Hash for ShaderStage[src]

impl PartialEq<ShaderStage> for ShaderStage[src]

impl StructuralEq for ShaderStage[src]

impl StructuralPartialEq for ShaderStage[src]

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Content for T where
    T: Copy
[src]

type Owned = T

A type that holds a sized version of the content.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.