Crate glapp

Source
Expand description

§glapp - OpenGL meta window and context creation

Glapp is a library for OpenGL window and context creation.

Example:

use glapp::*;
 
#[glapp_main]
fn main(mut app:App) {
    app.title("Testing Glapp");
    app.run(|window,event|{
        match event {
            AppEvent::Open=>{
                // The OpenGL context is created and made current.
            },
            AppEvent::Render=>{
                // This is where we render our scene.
            },
            // ... see docs for more events, e.g. input and such ...
        }
    });
}

Re-exports§

pub use gl;

Structs§

App

Enums§

AppEvent
AppUnits
MouseButton
MouseKind

Traits§

AppWindow
AppWindowBuilder

Attribute Macros§

glapp_main