39 class OpenGLWindowDescription_Impl;
103 void set_version(
int major,
int minor,
bool allow_lower_versions);
149 std::shared_ptr<OpenGLWindowDescription_Impl> impl;
int get_layer_plane() const
Returns the layer plane value.
void set_version(int major, int minor, bool allow_lower_versions)
Select the OpenGL version number.
void set_layer_plane(int value)
Sets the layer plane value.
void set_compatibility_profile(bool enable)
Sets the compatibility profile flag.
bool get_debug() const
Returns true if the debug flag is set.
bool get_compatibility_profile() const
Returns true if the compatibility profile flag is set.
void set_core_profile(bool enable)
Sets the core profile flag.
void set_forward_compatible(bool enable)
Sets the forward compatible flag.
bool get_core_profile() const
Returns true if the core profile flag is set.
bool get_forward_compatible() const
Returns true if the forward compatible flag is set.
virtual ~OpenGLWindowDescription()
Constructs a OpenGLWindowDescription.
void set_debug(bool enable)
Sets the debug flag.
int get_version_major() const
Returns selected major version number.
int get_version_minor() const
Returns selected minor version number.
OpenGLWindowDescription()
Constructs a window description with default values.
bool get_allow_lower_versions() const
Returns true if allowed lower versions than the selected version.
OpenGL specific display window description.
Definition: opengl_window_description.h:52