Magnum::Platform::WindowlessWindowsEglContext::Configuration class

Configuration.

Contents

Public types

enum class Flag: int { Debug = EGL_CONTEXT_OPENGL_DEBUG_BIT_KHR }
Context flag.
using Flags = Containers::EnumSet<Flag>
Context flags.

Public functions

auto flags() const -> Flags
Context flags.
auto setFlags(Flags flags) -> Configuration&
Set context flags.
auto addFlags(Flags flags) -> Configuration&
Add context flags.
auto clearFlags(Flags flags) -> Configuration&
Clear context flags.

Enum documentation

enum class Magnum::Platform::WindowlessWindowsEglContext::Configuration::Flag: int

Context flag.

Enumerators
Debug

Create debug context

Typedef documentation

typedef Containers::EnumSet<Flag> Magnum::Platform::WindowlessWindowsEglContext::Configuration::Flags

Context flags.

Function documentation

Configuration& Magnum::Platform::WindowlessWindowsEglContext::Configuration::setFlags(Flags flags)

Set context flags.

Returns Reference to self (for method chaining)

Default is no flag. See also GL::Context::flags().

Configuration& Magnum::Platform::WindowlessWindowsEglContext::Configuration::addFlags(Flags flags)

Add context flags.

Returns Reference to self (for method chaining)

Unlike setFlags(), ORs the flags with existing instead of replacing them. Useful for preserving the defaults.

Configuration& Magnum::Platform::WindowlessWindowsEglContext::Configuration::clearFlags(Flags flags)

Clear context flags.

Returns Reference to self (for method chaining)

Unlike setFlags(), ANDs the inverse of flags with existing instead of replacing them. Useful for removing default flags.