Epok Engine

EPOK RUNTIME

epok::baked_texture_packet

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

Performs `baked texture packet` as part of native text data and HUD text components.

Belongs to
epok
Header
texture_types.hpp
Overloads
1

Declaration

template
Declaration
template<bool Interlaced,bool Dithering> inline BakedTexturePacket baked_texture_packet(const uint32_t* bank,size_t count, uint16_t index,BlendMode blend)

Performs `baked texture packet` as part of native text data and HUD text components.

ParameterTypeMeaning
bankconst uint32_t *Not documented; consult the linked header.
countsize_tNot documented; consult the linked header.
indexuint16_tNot documented; consult the linked header.
blendBlendModeNot documented; consult the linked header.

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

Example sketch

C++ example
#include "texture_types.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 uint32_t * bank
// size_t count
// uint16_t index
// BlendMode blend

auto result = epok::baked_texture_packet<Interlaced, Dithering>(bank, count, index, blend);

Trade-offs and warnings

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

Declared in runtime/texture_types.hpp:47

Related members