Enum glium::program::ProgramCreationInput
[−]
[src]
pub enum ProgramCreationInput<'a> {
SourceCode {
vertex_shader: &'a str,
tessellation_control_shader: Option<&'a str>,
tessellation_evaluation_shader: Option<&'a str>,
geometry_shader: Option<&'a str>,
fragment_shader: &'a str,
transform_feedback_varyings: Option<(Vec<String>, TransformFeedbackMode)>,
outputs_srgb: bool,
uses_point_size: bool,
},
Binary {
data: Binary,
outputs_srgb: bool,
uses_point_size: bool,
},
}Input when creating a program.
Variants
SourceCode | Use GLSL source code. Fields
| ||||||||||||||||
Binary | Use a precompiled binary. Fields
|