Epok Engine

EPOK RUNTIME

epok::fonts_initialize

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

Function

Authored fonts are 4bpp, so a row is a quarter of its pixel width in VRAM words, and the CLUT is sixteen entries rather than 256.

Belongs to
epok
Header
texture.hpp
Overloads
1

Declaration

Declaration
inline void fonts_initialize(psyqo::GPU& gpu,const Font* fonts,size_t count)

Authored fonts are 4bpp, so a row is a quarter of its pixel width in VRAM words, and the CLUT is sixteen entries rather than 256.

ParameterTypeMeaning
gpupsyqo::GPU &Not documented; consult the linked header.
fontsconst Font *Not documented; consult the linked header.
countsize_tNot documented; consult the linked header.

Returns: Nothing (void).

Example sketch

C++ example
#include "texture.hpp"

// Assume these named values have been initialized with valid data:
// psyqo::GPU & gpu
// const Font * fonts
// size_t count

epok::fonts_initialize(gpu, fonts, count);

Trade-offs and warnings

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

Declared in runtime/texture.hpp:16

Related members