/home/igankevich/rpmbuild/BUILD/mosra-magnum-335a687/src/Magnum/Platform/XEglApplication.h file

Class Magnum::Platform::XEglApplication, macro MAGNUM_XEGLAPPLICATION_MAIN()

Contents

Namespaces

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

Classes

class Magnum::Platform::XEglApplication
X/EGL application.

Defines

#define MAGNUM_XEGLAPPLICATION_MAIN(className)
Entry point for X/EGL-based applications.

Define documentation

#define MAGNUM_XEGLAPPLICATION_MAIN(className)

Entry point for X/EGL-based applications.

Parameters
className Class name

See Platform::XEglApplication 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 application header is included this macro is also aliased to MAGNUM_APPLICATION_MAIN().