Struct luminance_glfw::Device [] [src]

pub struct Device { /* fields omitted */ }

Device object.

Upon window and context creation, this type is used to add interaction and context handling.

Methods

impl Device
[src]

Give the size of the framebuffer attached to the window.

Retrieve an iterator over any pulled events.

Perform a draw. You should recall that function each time you want to draw a single frame to the screen.

Create a device and bootstrap a luminance environment that lives as long as thdevice lives.