Epok Engine

EPOK RUNTIME

epok::hud_core::Compiler::Compiler<Sink>

constructor · 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.

constructor

Constructs `epok::hud_core::Compiler` for native HUD layout, drawing and focus navigation.

Belongs to
epok::hud_core::Compiler
Header
hud_core.hpp
Overloads
1

Declaration

Declaration
Compiler(Sink& sink,int width,int height,Budget budget):sin

Constructs `epok::hud_core::Compiler` for native HUD layout, drawing and focus navigation.

ParameterTypeMeaning
sinkSink &Not documented; consult the linked header.
widthintNot documented; consult the linked header.
heightintNot documented; consult the linked header.
budgetBudgetNot documented; consult the linked header.

Returns: Nothing (void).

Example sketch

C++ example
#include "hud_core.hpp"

// Assume these named values have been initialized with valid data:
// Sink & sink
// int width
// int height
// Budget budget

epok::hud_core::Compiler value(sink, width, height, budget);

Trade-offs and warnings

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

Declared in runtime/hud_core.hpp:695

Related members