class EE::Window::Runtime

Overview

Process-level runtime selection, resolved once from EEPP_RUNTIME. More…

#include <runtime.hpp>

class Runtime {
public:
    // methods

    static RuntimeMode mode();
    static bool isOffscreen();
    static const char* modeName();
};

Detailed Documentation

Process-level runtime selection, resolved once from EEPP_RUNTIME.

Methods

static RuntimeMode mode()

Returns:

The process runtime mode resolved from EEPP_RUNTIME on first use.

static bool isOffscreen()

Returns:

True when the runtime requires an offscreen video driver and logical framebuffer.

static const char* modeName()

Returns:

A stable lowercase name for the resolved runtime mode.