Crate luminance_glfw [] [src]

Structs

Device

Device object.

WindowOpt

Different window options.

Enums

Action

Input actions.

DeviceError

Error that can be risen while creating a Device object.

InitError

An error that might be returned when glfw::init is called.

Key

Input keys.

MouseButton

Mouse buttons. The MouseButtonLeft, MouseButtonRight, and MouseButtonMiddle aliases are supplied for convenience.

WindowDim

Dimension of the window to create.

Functions

open_window

Create a new window and bootstrap a luminance environment that lives as long as the Device lives.

Type Definitions

Keyboard
Mouse
MouseMove
Scroll