Epok Engine

EPOK RUNTIME

epok::baked_textured

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

Without a resident texture bank, faces draw untextured, as before the words were resolved at cook time: callers pass textures_ready=false.

Belongs to
epok
Header
baked_draw_types.hpp
Overloads
1

Declaration

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

Without a resident texture bank, faces draw untextured, as before the words were resolved at cook time: callers pass textures_ready=false.

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

Returns: bool. 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_textured(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:31

Related members