Struct 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

vertex_shader: &'a str

Source code of the vertex shader.

tessellation_control_shader: Option<&'a str>

Source code of the optional tessellation control shader.

tessellation_evaluation_shader: Option<&'a str>

Source code of the optional tessellation evaluation shader.

geometry_shader: Option<&'a str>

Source code of the optional geometry shader.

fragment_shader: &'a str

Source code of the fragment shader.