class
ViewportEventViewport event.
Constructors, destructors, conversion operators
- ViewportEvent(const ViewportEvent&) deleted
- Copying is not allowed.
- ViewportEvent(ViewportEvent&&) deleted
- Moving is not allowed.
Public functions
- auto operator=(const ViewportEvent&) -> ViewportEvent& deleted
- Copying is not allowed.
- auto operator=(ViewportEvent&&) -> ViewportEvent& deleted
- Moving is not allowed.
- auto windowSize() const -> Vector2i
- Window size.
- auto framebufferSize() const -> Vector2i
- Framebuffer size.
Function documentation
Vector2i Magnum:: Platform:: AbstractXApplication:: ViewportEvent:: windowSize() const
Window size.
Same as framebufferSize().
Vector2i Magnum:: Platform:: AbstractXApplication:: ViewportEvent:: framebufferSize() const
Framebuffer size.
Same as windowSize().