Function rusty_gl::drawing::gl_clear_color[][src]

pub fn gl_clear_color(
    red: GLfloat,
    green: GLfloat,
    blue: GLfloat,
    aplha: GLfloat
)

Specify clear values for the color buffers

Examples

gl_clear_color(0.5, 0.5, 0.2, 1.0);

More: https://www.khronos.org/registry/OpenGL-Refpages/gl4/html/glClearColor.xhtml