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