Epok Engine

EPOK RUNTIME

epok::world2d_depth_limit

Variable

Variable

Maximum length of an attachment chain resolved in one call (root included).

Belongs to
epok
Header
world2d.hpp

Declaration

Declaration
const size_t world2d_depth_limit

Maximum length of an attachment chain resolved in one call (root included).

Type
const size_t
Storage
Namespace scope

Example

C++ example
#include "world2d.hpp"

auto value = epok::world2d_depth_limit;

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/world2d.hpp:45