Epok Engine

EPOK RUNTIME

epok::screen_fade

Variable

Variable

Post-HUD fade to black.

Belongs to
epok
Header
effects.hpp

Declaration

Declaration
uint8_t screen_fade

Post-HUD fade to black.

Type
uint8_t
Storage
Namespace scope

Example

C++ example
#include "effects.hpp"

auto value = epok::screen_fade;

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/effects.hpp:6