Epok Engine

EPOK RUNTIME

epok::baked_ordered_colors

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

Ordered native packets use only two corner layouts: 0,1,2,3 and 1,2,3,3.

Belongs to
epok
Header
baked_draw_types.hpp
Overloads
1

Declaration

Declaration
inline void baked_ordered_colors(const BakedDrawFace& face,bool second_half, const uint32_t* palette,uint32_t* output)

Ordered native packets use only two corner layouts: 0,1,2,3 and 1,2,3,3.

ParameterTypeMeaning
faceconst BakedDrawFace &Not documented; consult the linked header.
second_halfboolNot documented; consult the linked header.
paletteconst uint32_t *Not documented; consult the linked header.
outputuint32_t *Not documented; consult the linked header.

Returns: Nothing (void).

Example sketch

C++ example
#include "baked_draw_types.hpp"

// Assume these named values have been initialized with valid data:
// const BakedDrawFace & face
// bool second_half
// const uint32_t * palette
// uint32_t * output

epok::baked_ordered_colors(face, second_half, palette, output);

Trade-offs and warnings

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

Declared in runtime/baked_draw_types.hpp:42

Related members