ContextDesc#

Fully qualified name: carb::simplegui::ContextDesc

Defined in carb/simplegui/SimpleGuiTypes.h

struct ContextDesc#

Defines a descriptor for simplegui context.

Public Members

Float2 displaySize#

The display size.

windowing::Window *window = nullptr#

The Window to use.

input::Keyboard *keyboard = nullptr#

The Keyboard to listen for events. Can be nullptr.

input::Mouse *mouse = nullptr#

The Mouse to listen for events. Can be nullptr.

input::Gamepad *gamepad = nullptr#

The Gamepad to listen for events. Can be nullptr.