Epok Engine

EPOK RUNTIME

epok::debug_hud::draw

Function · 1 overload

Function

Draws draw 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 draw(psyqo::GPU& gpu)

Draws draw as part of native HUD layout, drawing and focus navigation.

ParameterTypeMeaning
gpupsyqo::GPU &Value supplied for gpu. Keep referenced or pointed-to data valid for the complete call.

Returns: Nothing (void).

Example

C++ example
#include "debug_hud.hpp"

// Assume these named values have been initialized with valid data:
// psyqo::GPU & gpu

epok::debug_hud::draw(gpu);

Why use it

The API maps closely to PSX GPU work, giving predictable ordering and low overhead.

Trade-offs and warnings

Respect packet lifetime, ordering-table direction and per-frame GPU/VRAM budgets; submission is not a desktop immediate-mode draw call. Pointer/reference arguments are borrowed unless the source contract says otherwise; keep them valid for the complete operation and never assume null is accepted.

Declared in runtime/debug_hud.hpp:90

Related members