Epok Engine

EPOK RUNTIME

epok::baked_corner_color

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 `baked corner color` as part of the baked draw types module.

Belongs to
epok
Header
baked_draw_types.hpp
Overloads
1

Declaration

Declaration
inline uint32_t baked_corner_color(const BakedDrawFace& face, unsigned corner, const uint32_t* palette)

Performs `baked corner color` as part of the baked draw types module.

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

Returns: uint32_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
// const uint32_t * palette

auto result = epok::baked_corner_color(face, corner, palette);

Trade-offs and warnings

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

Declared in runtime/baked_draw_types.hpp:34

Related members