Epok Engine

EPOK RUNTIME

epok::baked_texture_words

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

A face's cooked texture words as the packet takes them: the flags cleared and the display mode bits (as baked_texture_packet) added to the TPAGE.

Belongs to
epok
Header
baked_packet.hpp
Overloads
1

Declaration

template
Declaration
template<bool Interlaced,bool Dithering> inline BakedTextureWords baked_texture_words(const BakedDrawFace& face)

A face's cooked texture words as the packet takes them: the flags cleared and the display mode bits (as baked_texture_packet) added to the TPAGE.

ParameterTypeMeaning
faceconst BakedDrawFace &Not documented; consult the linked header.

Returns: BakedTextureWords. Consult the linked header for its meaning.

Example sketch

C++ example
#include "baked_packet.hpp"

// Replace these template arguments with types or values accepted by the declaration:
// Interlaced, Dithering

// Assume these named values have been initialized with valid data:
// const BakedDrawFace & face

auto result = epok::baked_texture_words<Interlaced, Dithering>(face);

Trade-offs and warnings

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

Declared in runtime/baked_packet.hpp:17

Related members