Forward declarations for Magnum namespace.
- Build with deprecated API included.
- Static library build.
- Multi-threaded build.
- OpenGL ES target.
- OpenGL ES 2.0 target.
- OpenGL ES 3.0 target.
- Desktop emulation of OpenGL ES target.
- WebGL target.
- Headless target.
Build with deprecated API included.
Defined if the library contains deprecated API (which will be removed in the future). To preserve backward compatibility, Magnum is by default built with deprecated API included.
Static library build.
Defined if built as static libraries. Default are shared libraries.
Defined if the library is built in a way that allows multiple thread-local Magnum contexts. Enabled by default.
OpenGL ES target.
Defined if the engine is built for OpenGL ES 3.0 or OpenGL ES 2.0.
Defined if the engine is built for WebGL (using Emscripten). WebGL is nearly equivalent to OpenGL ES 2.0, thus in most cases you don't need to treat it differently, but there are some specific restrictions and features which you might want to be aware of. Implies also MAGNUM_
Defined if the engine is built for use on a headless machine (without any graphical desktop environment). Basically it means that EGL with no display attachment is being used everywhere instead of platform-specific toolkits like CGL, GLX or WGL. Note that this might not be supported on all platforms, see Platform::