Struct opengl_graphics::Colored
[−]
[src]
pub struct Colored { /* fields omitted */ }
Describes how to render colored objects.
Methods
impl Colored
[src]
fn new(glsl: GLSL) -> Self
[src]
fn from_vs_fs(
glsl: GLSL,
vertex_shaders: &Shaders<GLSL, str>,
fragment_shaders: &Shaders<GLSL, str>
) -> Result<Self, String>
[src]
glsl: GLSL,
vertex_shaders: &Shaders<GLSL, str>,
fragment_shaders: &Shaders<GLSL, str>
) -> Result<Self, String>
Generate using custom vertex and fragment shaders.