Magnum::Platform::AbstractXApplication::ViewportEvent class

Viewport event.

Contents

Public functions

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().