Epok Engine

EPOK RUNTIME

epok::HudRenderer::glyph_quad

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.

Method

The 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.

Belongs to
epok::HudRenderer
Header
hud.hpp
Overloads
1

Declaration

Declaration
void glyph_quad(int,int index,const int* x,const int* y,const int* u,const int* v,const uint8_t* color)

The 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.

ParameterTypeMeaning
arg1intNot documented; consult the linked header.
indexintNot documented; consult the linked header.
xconst int *Not documented; consult the linked header.
yconst int *Not documented; consult the linked header.
uconst int *Not documented; consult the linked header.
vconst int *Not documented; consult the linked header.
colorconst uint8_t *Not documented; consult the linked header.

Returns: Nothing (void).

Example sketch

C++ example
#include "hud.hpp"

// Assume these named values have been initialized with valid data:
// int arg1
// int index
// const int * x
// const int * y
// const int * u
// const int * v
// const uint8_t * color

epok::HudRenderer& object = /* obtain a valid instance */;

object.glyph_quad(arg1, index, x, y, u, v, color);

Trade-offs and warnings

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

Declared in runtime/hud.hpp:161

Related members