class
ConfigurationConfiguration.
Contents
- Reference
Public types
-
using Flag = GLConfiguration::
Flag deprecated - Context flag.
-
using Flags = GLConfiguration::
Flags deprecated - Context flags.
Public functions
-
auto title() const -> std::
string - Window title.
-
auto setTitle(std::
string title) -> Configuration& - Set window title.
- auto size() const -> Vector2i
- Window size.
- auto setSize(const Vector2i& size) -> Configuration&
- Set window size.
-
auto flags() const -> GLConfiguration::
Flags deprecated - Context flags.
-
auto setFlags(GLConfiguration::
Flags flags) -> Configuration& deprecated - Set context flags.
-
auto version() const -> GL::
Version deprecated - Context version.
-
auto setVersion(GL::
Version version) -> Configuration& deprecated - Set context version.
- auto sampleCount() const -> Int deprecated
- Sample count.
- auto setSampleCount(Int count) -> Configuration& deprecated
- Set sample count.
Typedef documentation
typedef GLConfiguration:: Flag Magnum:: Platform:: GlutApplication:: Configuration:: Flag
Context flag.
typedef GLConfiguration:: Flags Magnum:: Platform:: GlutApplication:: Configuration:: Flags
Context flags.
Function documentation
Configuration& Magnum:: Platform:: GlutApplication:: Configuration:: setTitle(std:: string title)
Set window title.
Returns | Reference to self (for method chaining) |
---|
Default is "Magnum GLUT Application"
.
Configuration& Magnum:: Platform:: GlutApplication:: Configuration:: setSize(const Vector2i& size)
Set window size.
Returns | Reference to self (for method chaining) |
---|
Default is {800, 600}
.
GLConfiguration:: Flags Magnum:: Platform:: GlutApplication:: Configuration:: flags() const
Context flags.
Configuration& Magnum:: Platform:: GlutApplication:: Configuration:: setFlags(GLConfiguration:: Flags flags)
Set context flags.
GL:: Version Magnum:: Platform:: GlutApplication:: Configuration:: version() const
Context version.
Configuration& Magnum:: Platform:: GlutApplication:: Configuration:: setVersion(GL:: Version version)
Set context version.
Int Magnum:: Platform:: GlutApplication:: Configuration:: sampleCount() const
Sample count.
Configuration& Magnum:: Platform:: GlutApplication:: Configuration:: setSampleCount(Int count)
Set sample count.