class EE::Window::Runtime

Overview

Process-level runtime selection and window visibility overrides. More…

#include <runtime.hpp>

class Runtime {
public:
    // methods

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

Detailed Documentation

Process-level runtime selection and window visibility overrides.

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 bool forceHiddenWindows()

Returns:

True when EEPP_WINDOW_HIDDEN is exactly “1”. This does not change the runtime or renderer. Set it before creating windows to suppress native window presentation.

static const char* modeName()

Returns:

A stable lowercase name for the resolved runtime mode.