Epok Engine

EPOK RUNTIME

epok::debug_hud::toggle

Function · 1 overload

Declarations are extracted from the pinned headers. Examples and general guidance are generated sketches, not verified complete programs; consult the linked source and guides for the actual contract.

Function

Performs `toggle` as part of native HUD layout, drawing and focus navigation.

Belongs to
epok::debug_hud
Header
debug_hud.hpp
Overloads
1

Declaration

Declaration
inline void toggle(bool select_pressed)

Performs `toggle` as part of native HUD layout, drawing and focus navigation.

ParameterTypeMeaning
select_pressedboolNot documented; consult the linked header.

Returns: Nothing (void).

Example sketch

C++ example
#include "debug_hud.hpp"

// Assume these named values have been initialized with valid data:
// bool select_pressed

epok::debug_hud::toggle(select_pressed);

Trade-offs and warnings

Consult the linked header for this operation’s ownership, lifetime and failure behavior.

Declared in runtime/debug_hud.hpp:48

Related members