Why use it
The boolean result makes success, availability or state explicit without exceptions.
EPOK RUNTIME
Method · 1 overload
Performs `faces unlit` as part of the retained module.
bool faces_unlit(const MeshGeometry* source)Performs `faces unlit` as part of the retained module.
| Parameter | Type | Meaning |
|---|---|---|
source | const MeshGeometry * | Value supplied for source. Keep referenced or pointed-to data valid for the complete call. |
Returns: bool. Check the value before continuing when it represents success, availability or a resource handle.
#include "retained.hpp"
// Assume these named values have been initialized with valid data:
// const MeshGeometry * source
epok::MeshMaterialCache& object = /* obtain a valid instance */;
auto result = object.faces_unlit(source);The boolean result makes success, availability or state explicit without exceptions.
Check the return value; `false` is part of normal control flow for many PSX resource operations. This is classified as **Engine internal**. Prefer a higher-level Epok service unless you need this exact control. Pointer/reference arguments are borrowed unless the source contract says otherwise; keep them valid for the complete operation and never assume null is accepted.
Declared in runtime/retained.hpp:32