Trade-offs and warnings
Consult the linked header for this operation’s ownership, lifetime and failure behavior.
EPOK RUNTIME
Method · 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.
Performs `image` as part of native HUD layout, drawing and focus navigation.
void image(int,int id,int x0,int y0,int x1,int y1,int u0,int v0,int u1,int v1,const uint8_t* color)Performs `image` as part of native HUD layout, drawing and focus navigation.
| Parameter | Type | Meaning |
|---|---|---|
arg1 | int | Not documented; consult the linked header. |
id | int | Not documented; consult the linked header. |
x0 | int | Not documented; consult the linked header. |
y0 | int | Not documented; consult the linked header. |
x1 | int | Not documented; consult the linked header. |
y1 | int | Not documented; consult the linked header. |
u0 | int | Not documented; consult the linked header. |
v0 | int | Not documented; consult the linked header. |
u1 | int | Not documented; consult the linked header. |
v1 | int | Not documented; consult the linked header. |
color | const uint8_t * | Not documented; consult the linked header. |
Returns: Nothing (void).
#include "hud.hpp"
// Assume these named values have been initialized with valid data:
// int arg1
// int id
// int x0
// int y0
// int x1
// int y1
// int u0
// int v0
// int u1
// int v1
// const uint8_t * color
epok::HudRenderer& object = /* obtain a valid instance */;
object.image(arg1, id, x0, y0, x1, y1, u0, v0, u1, v1, color);Consult the linked header for this operation’s ownership, lifetime and failure behavior.
Declared in runtime/hud.hpp:112
begin_nodeBegins node as part of native HUD layout, drawing and focus navigation.Methodbegin_textBegins text as part of native HUD layout, drawing and focus navigation.MethodcountsPerforms `counts` as part of native HUD layout, drawing and focus navigation.MethoddrawDraws draw as part of native HUD layout, drawing and focus navigation.Function templateend_nodeEnds node as part of native HUD layout, drawing and focus navigation.MethodfontFont index -1 is the built-in atlas, resident at (960,448) with its CLUT at (60,448); an authored font brings its own placement from the export allocator.MethodglyphSource coordinates arrive as atlas texels; the page origin turns them into the texel offsets within the page begin_text() chained.Methodglyph_quadThe same page, CLUT and atlas texels glyph() uses; only the primitive class differs, and a TexturedQuad carries its own page rather than inheriting the one begin_text() chained.MethodinitializePerforms `initialize` as part of native HUD layout, drawing and focus navigation.MethodinvalidateScene switches rebuild both parities; slot reuse alone is covered by the key.MethodquadRotated fills, images and glyphs.MethodrectanglePerforms `rectangle` as part of native HUD layout, drawing and focus navigation.Method