This is a snapshot of a work-in-progress documentation theme. If you feel lost, miss something, or want to see the original Doxygen docs instead, head over to the archived version of this documentation page.

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 Context
Platform-specific 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.