Epok Engine

EPOK RUNTIME

epok::time

Variable

Variable

Exposes `time` on the `epok` namespace for fixed-step simulation time and frame timing.

Belongs to
epok
Header
time.hpp

Declaration

Declaration
Time time

Exposes `time` on the `epok` namespace for fixed-step simulation time and frame timing.

Type
Time
Storage
Namespace scope

Example

C++ example
#include "time.hpp"

auto value = epok::time;

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/time.hpp:33