Epok Engine

EPOK RUNTIME

epok::bake_texture_packets

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 `bake texture packets` as part of native text data and HUD text components.

Belongs to
epok
Header
texture_types.hpp
Overloads
1

Declaration

template
Declaration
template<size_t N> constexpr BakedTextureTable<N> bake_texture_packets(const Texture (&bank)[N])

Performs `bake texture packets` as part of native text data and HUD text components.

ParameterTypeMeaning
bankconst Texture (&)[N]Not documented; consult the linked header.

Returns: BakedTextureTable<N>. 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:
// N

// Assume these named values have been initialized with valid data:
// const Texture (&)[N] bank

auto result = epok::bake_texture_packets<N>(bank);

Trade-offs and warnings

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

Declared in runtime/texture_types.hpp:34

Related members