Epok Engine

EPOK RUNTIME

epok::lighting_environment

Variable

Variable

Exposes `lighting_environment` on the `epok` namespace for the epok module.

Belongs to
epok
Header
epok.hpp

Declaration

Declaration
LightingEnvironment lighting_environment

Exposes `lighting_environment` on the `epok` namespace for the epok module.

Type
LightingEnvironment
Storage
Namespace scope

Example

C++ example
#include "epok.hpp"

auto value = epok::lighting_environment;

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/epok.hpp:58