Struct OpenGLContextOptions

Struct Documentation

struct OpenGLContextOptions

Requested GLFW OpenGL context hints applied to a newly created window, not a runtime backend switch.

Public Members

int major = 3

Positive requested OpenGL major version.

int minor = 3

Nonnegative requested minor version.

bool core_profile = true

Request the OpenGL core profile.

bool forward_compatible = false

Forward-compatibility request; defaults false outside Apple.

bool visible = true

Whether the new native window starts visible.