Magnum::Platform::AndroidApplication::Configuration class

Configuration.

Contents

Double-buffered RGBA canvas with depth and stencil buffers.

Public functions

template<class T>
auto setTitle(const T&) -> Configuration&
Set window title.
auto size() const -> Vector2i
Window size.
auto setSize(const Vector2i& size) -> Configuration&
Set window size.

Function documentation

template<class T>
Configuration& Magnum::Platform::AndroidApplication::Configuration::setTitle(const T&)

Set window title.

Returns Reference to self (for method chaining)

Configuration& Magnum::Platform::AndroidApplication::Configuration::setSize(const Vector2i& size)

Set window size.

Returns Reference to self (for method chaining)

Default is {0, 0}, which means that the size of the physical window will be used. If set to different value than the physical size, the surface will be scaled.