Epok Engine

EPOK RUNTIME

epok::decode_draw_order

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 `decode draw order` as part of the draw order module.

Belongs to
epok
Header
draw_order.hpp
Overloads
1

Declaration

Declaration
inline bool decode_draw_order(const uint8_t* data,size_t bytes, const uint32_t* previous,size_t previous_count,uint32_t* output,size_t capacity,size_t expected)

Performs `decode draw order` as part of the draw order module.

ParameterTypeMeaning
dataconst uint8_t *Not documented; consult the linked header.
bytessize_tNot documented; consult the linked header.
previousconst uint32_t *Not documented; consult the linked header.
previous_countsize_tNot documented; consult the linked header.
outputuint32_t *Not documented; consult the linked header.
capacitysize_tNot documented; consult the linked header.
expectedsize_tNot documented; consult the linked header.

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

Example sketch

C++ example
#include "draw_order.hpp"

// Assume these named values have been initialized with valid data:
// const uint8_t * data
// size_t bytes
// const uint32_t * previous
// size_t previous_count
// uint32_t * output
// size_t capacity
// size_t expected

auto result = epok::decode_draw_order(data, bytes, previous, previous_count, output, capacity, expected);

Trade-offs and warnings

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

Declared in runtime/draw_order.hpp:22

Related members