file
GlfwApplication.hClass Magnum::
Namespaces
- namespace Magnum
- Root namespace.
- namespace Magnum::Platform
- Platform-specific application and context creation.
Classes
- class Magnum::Platform::GlfwApplication
- GLFW application.
- struct Magnum::Platform::GlfwApplication::Arguments
- Application arguments.
- class Magnum::Platform::GlfwApplication::GLConfiguration
- OpenGL context configuration.
- class Magnum::Platform::GlfwApplication::Configuration
- Configuration.
- class Magnum::Platform::GlfwApplication::ExitEvent
- Exit event.
- class Magnum::Platform::GlfwApplication::ViewportEvent
- Viewport event.
- class Magnum::Platform::GlfwApplication::InputEvent
- Base for input events.
- class Magnum::Platform::GlfwApplication::KeyEvent
- Key event.
- class Magnum::Platform::GlfwApplication::MouseEvent
- Mouse event.
- class Magnum::Platform::GlfwApplication::MouseMoveEvent
- Mouse move event.
- class Magnum::Platform::GlfwApplication::MouseScrollEvent
- Mouse scroll event.
- class Magnum::Platform::GlfwApplication::TextInputEvent
- Text input event.
Defines
- #define MAGNUM_GLFWAPPLICATION_MAIN(className)
- Entry point for GLFW-based applications.
Define documentation
#define MAGNUM_GLFWAPPLICATION_MAIN(className)
Entry point for GLFW-based applications.
Parameters | |
---|---|
className | Class name |
See Platform::
int main(int argc, char** argv) { className app({argc, argv}); return app.exec(); }
When no other application header is included this macro is also aliased to MAGNUM_APPLICATION_MAIN()
.