Struct nannou::ui::backend::glium::glium::program::SourceCode[][src]

pub struct SourceCode<'a> {
    pub vertex_shader: &'a str,
    pub tessellation_control_shader: Option<&'a str>,
    pub tessellation_evaluation_shader: Option<&'a str>,
    pub geometry_shader: Option<&'a str>,
    pub fragment_shader: &'a str,
}

Represents the source code of a program.

Fields

Source code of the vertex shader.

Source code of the optional tessellation control shader.

Source code of the optional tessellation evaluation shader.

Source code of the optional geometry shader.

Source code of the fragment shader.

Trait Implementations

impl<'a> From<SourceCode<'a>> for ProgramCreationInput<'a>
[src]

Performs the conversion.

Auto Trait Implementations

impl<'a> Send for SourceCode<'a>

impl<'a> Sync for SourceCode<'a>