Magnum/Platform/WindowlessWindowsEglApplication.h file

Class Magnum::Platform::WindowlessWindowsEglApplication, Magnum::Platform::WindowlessWindowsEglContext, macro MAGNUM_WINDOWLESSWINDOWSEGLAPPLICATION_MAIN()

Contents

Namespaces

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

Classes

class Magnum::Platform::WindowlessWindowsEglContext
Windowless Windows/EGL context.
class Magnum::Platform::WindowlessWindowsEglContext::Configuration
Configuration.
class Magnum::Platform::WindowlessWindowsEglApplication
Windowless Windows/EGL application.
struct Magnum::Platform::WindowlessWindowsEglApplication::Arguments
Application arguments.

Defines

#define MAGNUM_WINDOWLESSWINDOWSEGLAPPLICATION_MAIN(className)
Entry point for windowless Windows/EGL application.

Define documentation

#define MAGNUM_WINDOWLESSWINDOWSEGLAPPLICATION_MAIN(className)

Entry point for windowless Windows/EGL application.

Parameters
className Class name

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