Magnum/Platform/WindowlessIosApplication.h file

Class Magnum::Platform::WindowlessIosApplication, Magnum::Platform::WindowlessIosContext, macro MAGNUM_WINDOWLESSIOSAPPLICATION_MAIN()

Namespaces

namespace Magnum
Root namespace.
namespace Magnum::Platform
Platform-specific application and context creation.

Classes

class Magnum::Platform::WindowlessIosContext
Windowless iOS context.
class Magnum::Platform::WindowlessIosContext::Configuration
Configuration.
class Magnum::Platform::WindowlessIosApplication
Windowless iOS application.
struct Magnum::Platform::WindowlessIosApplication::Arguments
Application arguments.

Defines

#define MAGNUM_WINDOWLESSIOSAPPLICATION_MAIN(className)
Entry point for windowless EGL application.

Define documentation

#define MAGNUM_WINDOWLESSIOSAPPLICATION_MAIN(className)

Entry point for windowless EGL application.

Parameters
className Class name

See Platform::WindowlessIosApplication for usage information. This macro abstracts out platform-specific entry point code and is equivalent to the following, see Platform-specific application support for more information.

int main(int argc, char** argv) {
    className app({argc, argv});
    return app.exec();
}

When no other windowless application header is included this macro is also aliased to MAGNUM_WINDOWLESSAPPLICATION_MAIN().