file new in 2019.10
EmscriptenApplication.hClass Magnum::
Namespaces
- namespace Magnum
- Root namespace.
- namespace Magnum::Platform
- Platform-specific application and context creation.
Classes
- class Magnum::Platform::EmscriptenApplication new in 2019.10
- Emscripten application.
- struct Magnum::Platform::EmscriptenApplication::Arguments
- Application arguments.
- class Magnum::Platform::EmscriptenApplication::GLConfiguration
- WebGL context configuration.
- class Magnum::Platform::EmscriptenApplication::Configuration
- Configuration.
- class Magnum::Platform::EmscriptenApplication::ViewportEvent
- Viewport event.
- class Magnum::Platform::EmscriptenApplication::InputEvent
- Base for input events.
- class Magnum::Platform::EmscriptenApplication::PointerEvent new in Git master
- Pointer event.
- class Magnum::Platform::EmscriptenApplication::MouseEvent deprecated in Git master
- Mouse event.
- class Magnum::Platform::EmscriptenApplication::PointerMoveEvent new in Git master
- Pointer move event.
- class Magnum::Platform::EmscriptenApplication::MouseMoveEvent deprecated in Git master
- Mouse move event.
- class Magnum::Platform::EmscriptenApplication::ScrollEvent new in Git master
- Scroll event.
- class Magnum::Platform::EmscriptenApplication::MouseScrollEvent deprecated in Git master
- Mouse scroll event.
- class Magnum::Platform::EmscriptenApplication::KeyEvent
- Key event.
- class Magnum::Platform::EmscriptenApplication::TextInputEvent
- Text input event.
Defines
- #define MAGNUM_EMSCRIPTENAPPLICATION_MAIN(className)
- Entry point for Emscripten applications.
Define documentation
#define MAGNUM_EMSCRIPTENAPPLICATION_MAIN(className)
Entry point for Emscripten applications.
Parameters | |
---|---|
className | Class name |
See Platform::
When no other application header is included this macro is also aliased to MAGNUM_APPLICATION_MAIN()
.
Compared to for example MAGNUM_main()
. This is in order to support the idle-efficient main loop, as otherwise the local scope would end before any event callback has a chance to happen.