Epok Engine

EPOK RUNTIME

epok::HudRenderer::font

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

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

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

Declaration

Declaration
const Font* font(int index)

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

ParameterTypeMeaning
indexintNot documented; consult the linked header.

Returns: const Font *. Consult the linked header for its meaning.

Example sketch

C++ example
#include "hud.hpp"

// Assume these named values have been initialized with valid data:
// int index

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

auto result = object.font(index);

Trade-offs and warnings

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

Declared in runtime/hud.hpp:125

Related members