Magnum/Platform/WindowlessGlxApplication.h file

Class Magnum::Platform::WindowlessGlxApplication, Magnum::Platform::WindowlessGlxContext, macro MAGNUM_WINDOWLESSGLXAPPLICATION_MAIN()

Namespaces

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

Classes

class Magnum::Platform::WindowlessGlxContext
Windowless GLX context.
class Magnum::Platform::WindowlessGlxContext::Configuration
Configuration.
class Magnum::Platform::WindowlessGlxApplication
Windowless GLX application.
struct Magnum::Platform::WindowlessGlxApplication::Arguments
Application arguments.

Defines

#define MAGNUM_WINDOWLESSGLXAPPLICATION_MAIN(className)
Entry point for windowless GLX application.

Define documentation

#define MAGNUM_WINDOWLESSGLXAPPLICATION_MAIN(className)

Entry point for windowless GLX application.

Parameters
className Class name

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