Magnum::Platform namespace

Platform-specific application and context creation.

Base classes for creating applications with various toolkits.

Parts of this namespace are built if MAGNUM_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, request given *Application component of the Magnum package and link to the Magnum::Application target, for example:

find_package(Magnum REQUIRED Sdl2Application)

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

Please see documentation of a particular *Application classs, the magnum-gl-info utility documentation, Downloading and building, Usage with CMake and Platform support for more information about usage requirements.

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 EmscriptenApplication new in 2019.10
Emscripten application.
class GLContext
Platform-specific OpenGL context.
class GlfwApplication
GLFW application.
class GlxApplication
GLX application.
class Sdl2Application
SDL2 application.
class TwoFingerGesture new in Git master
Two-finger gesture recognition.
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 XEglApplication
X/EGL application.