Epok Engine

EPOK RUNTIME

epok::texture_packed_uv

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

Performs `texture packed uv` as part of native text data and HUD text components.

Belongs to
epok
Header
texture_types.hpp
Overloads
1

Declaration

Declaration
inline constexpr uint16_t texture_packed_uv(const Texture& t,int32_t u,int32_t v)

Performs `texture packed uv` as part of native text data and HUD text components.

ParameterTypeMeaning
tconst Texture &Not documented; consult the linked header.
uint32_tNot documented; consult the linked header.
vint32_tNot documented; consult the linked header.

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

Example sketch

C++ example
#include "texture_types.hpp"

// Assume these named values have been initialized with valid data:
// const Texture & t
// int32_t u
// int32_t v

auto result = epok::texture_packed_uv(t, u, v);

Trade-offs and warnings

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

Declared in runtime/texture_types.hpp:14

Related members