Struct luminance_glfw::GLFWDevice [] [src]

pub struct GLFWDevice { /* fields omitted */ }

Device object.

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

Trait Implementations

impl Device for GLFWDevice
[src]

Type of events.

Type of device errors.

[src]

Create a device and bootstrap a luminance environment that lives as long as the device lives. Read more

[src]

Size of the framebuffer attached to the window.

[src]

Retrieve an iterator over any pulled events.

[src]

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

[src]

Width of the framebuffer attached to the window. Read more

[src]

Height of the framebuffer attached to the window. Read more