Magnum/Platform/WindowlessEglApplication.h file

Class Magnum::Platform::WindowlessEglApplication, Magnum::Platform::WindowlessEglContext, macro MAGNUM_WINDOWLESSEGLAPPLICATION_MAIN()

Namespaces

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

Classes

class Magnum::Platform::WindowlessEglContext
Windowless EGL context.
class Magnum::Platform::WindowlessEglContext::Configuration
Configuration.
class Magnum::Platform::WindowlessEglApplication
Windowless EGL application.
struct Magnum::Platform::WindowlessEglApplication::Arguments
Application arguments.

Defines

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

Define documentation

#define MAGNUM_WINDOWLESSEGLAPPLICATION_MAIN(className)

Entry point for windowless EGL application.

Parameters
className Class name

See Platform::WindowlessEglApplication 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().