Epok Engine

EPOK RUNTIME

epok::baked_command

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

GPU opcode: 0x30, plus 0x04 textured and 0x02 semi-transparent (only ever set on textured faces), from the flag bits 30 and 29.

Belongs to
epok
Header
baked_draw_types.hpp
Overloads
1

Declaration

Declaration
inline uint32_t baked_command(const BakedDrawFace& face,bool textures_ready=true)

GPU opcode: 0x30, plus 0x04 textured and 0x02 semi-transparent (only ever set on textured faces), from the flag bits 30 and 29.

ParameterTypeMeaning
faceconst BakedDrawFace &Not documented; consult the linked header.
textures_readyboolNot 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
// bool textures_ready

auto result = epok::baked_command(face, textures_ready);

Trade-offs and warnings

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

Declared in runtime/baked_draw_types.hpp:60

Related members