Epok Engine

EPOK RUNTIME

epok::sprite_stats

Variable

Variable

Exposes `sprite_stats` on the `epok` namespace for sprites, flipbooks and screen-facing rendering.

Belongs to
epok
Header
sprite_types.hpp

Declaration

Declaration
SpriteStats sprite_stats

Exposes `sprite_stats` on the `epok` namespace for sprites, flipbooks and screen-facing rendering.

Type
SpriteStats
Storage
Namespace scope

Example

C++ example
#include "sprite_types.hpp"

auto value = epok::sprite_stats;

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/sprite_types.hpp:44