Epok Engine

EPOK RUNTIME

epok::mesh_faces_unlit

Function · 1 overload

Function

An imported editable mesh owns per-face materials.

Belongs to
epok
Header
retained.hpp
Overloads
1

Declaration

Declaration
inline bool mesh_faces_unlit(const MeshGeometry* geometry)

An imported editable mesh owns per-face materials.

ParameterTypeMeaning
geometryconst MeshGeometry *Value supplied for geometry. 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.

Example

C++ example
#include "retained.hpp"

// Assume these named values have been initialized with valid data:
// const MeshGeometry * geometry

auto result = epok::mesh_faces_unlit(geometry);

Why use it

The boolean result makes success, availability or state explicit without exceptions.

Trade-offs and warnings

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:19

Related members