Function cgl_rs::graphics::render_screen_quad
source · pub fn render_screen_quad()
Expand description
Renders a screen quad.
Example
cgl_rs::init().expect("Failed to initialize CGL");
let mut window = cgl_rs::Window::new("My Window", 800, 600).unwrap();
cgl_rs::graphics::init().expect("Failed to initialize CGL Graphics Module");
cgl_rs::graphics::render_screen_quad(); // Renders a screen quad
// ...
cgl_rs::graphics::shutdown();
window.destroy();
cgl_rs::shutdown();