Magnum::Platform namespace

Platform-specific application and context creation.

Contents

Base classes for creating applications with various toolkits.

Parts of this namespace are built if WITH_*APPLICATION is enabled when building Magnum, with each library having specific toolkit dependencies and platform requirements. To use a particular application library with CMake, you need to request given *Application component of the Magnum package and link to the Magnum::Application target. Example using the Platform::Sdl2Application library:

find_package(Magnum REQUIRED Sdl2Application)

# ...
target_link_libraries(your-app Magnum::Application)

See documentation of particular *Application classs, Downloading and building, Usage with CMake and Platform support for more information.

Classes

class AbstractXApplication
Base for X11-based applications.
class AndroidApplication
Android application.
template<class Application>
class BasicScreen
Base for application screens.
template<class Application>
class BasicScreenedApplication
Base for applications with screen management.
class GLContext
Platform-specific OpenGL context.
class GlfwApplication
GLFW application.
class GlutApplication
GLUT application.
class GlxApplication
GLX application.
class Sdl2Application
SDL2 application.
class WindowlessCglApplication
Windowless CGL application.
class WindowlessCglContext
Windowless CGL context.
class WindowlessEglApplication
Windowless EGL application.
class WindowlessEglContext
Windowless EGL context.
class WindowlessGlxApplication
Windowless GLX application.
class WindowlessGlxContext
Windowless GLX context.
class WindowlessIosApplication
Windowless iOS application.
class WindowlessIosContext
Windowless iOS context.
class WindowlessWglApplication
Windowless WGL application.
class WindowlessWglContext
Windowless WGL context.
class WindowlessWindowsEglApplication
Windowless Windows/EGL application.
class WindowlessWindowsEglContext
Windowless Windows/EGL context.
class XEglApplication
X/EGL application.

Typedefs

using Context = GLContext deprecated
Run-time information about OpenGL extension.

Typedef documentation

typedef GLContext Magnum::Platform::Context

Run-time information about OpenGL extension.

Magnum context.