Epok Engine

EPOK RUNTIME

epok::MeshMaterialCache::geometry

Field

Field

Exposes `geometry` on `epok::MeshMaterialCache` for the retained module.

Belongs to
epok::MeshMaterialCache
Header
retained.hpp

Declaration

Declaration
const MeshGeometry * geometry

Exposes `geometry` on `epok::MeshMaterialCache` for the retained module.

Type
const MeshGeometry *
Storage
Per instance

Example

C++ example
#include "retained.hpp"

epok::MeshMaterialCache& object = /* obtain a valid instance */;
auto value = object.geometry;

When it helps

Use this member when you need direct access to the state represented by its declared type.

Trade-offs and warnings

Direct field access has no validation step. Keep the owning object alive, respect units and ranges, and do not mutate state while hardware or another subsystem is consuming it.

Declared in runtime/retained.hpp:30