Epok Engine

EPOK RUNTIME

epok::baked_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

A corner's packed UV (0..3).

Belongs to
epok
Header
baked_draw_types.hpp
Overloads
1

Declaration

Declaration
inline uint16_t baked_uv(const BakedDrawFace& face,unsigned corner)

A corner's packed UV (0..3).

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

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

Example sketch

C++ example
#include "baked_draw_types.hpp"

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

auto result = epok::baked_uv(face, corner);

Trade-offs and warnings

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

Declared in runtime/baked_draw_types.hpp:65

Related members