Struct luminance::shader::stage::Stage [] [src]

pub struct Stage<C, T> where C: HasStage {
    pub repr: C::AStage,
    // some fields omitted
}

A shader stage. The T type variable gives the type of the shader.

Fields

repr: C::AStage

Methods

impl<C, T> Stage<C, T> where C: HasStage, T: ShaderTypeable
[src]

fn new(src: &str) -> Result<Self, StageError>

Trait Implementations

impl<C: Debug, T: Debug> Debug for Stage<C, T> where C: HasStage, C::AStage: Debug
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl<C, T> Drop for Stage<C, T> where C: HasStage
[src]

fn drop(&mut self)

A method called when the value goes out of scope. Read more