Epok Engine

EPOK RUNTIME

epok::fog_color

Function template · 1 overload

Declarations are extracted from the pinned headers. Examples and general guidance are generated sketches, not verified complete programs; consult the linked source and guides for the actual contract.

Function template

Performs `fog color` as part of runtime effects and their deterministic playback state.

Belongs to
epok
Header
effects.hpp
Overloads
1

Declaration

template
Declaration
template<class Color>inline Color fog_color(Color color,int32_t depth)

Performs `fog color` as part of runtime effects and their deterministic playback state.

ParameterTypeMeaning
colorColorNot documented; consult the linked header.
depthint32_tNot documented; consult the linked header.

Returns: Color. Consult the linked header for its meaning.

Example sketch

C++ example
#include "effects.hpp"

// Replace these template arguments with types or values accepted by the declaration:
// Color

// Assume these named values have been initialized with valid data:
// Color color
// int32_t depth

auto result = epok::fog_color<Color>(color, depth);

Trade-offs and warnings

Consult the linked header for this operation’s ownership, lifetime and failure behavior.

Declared in runtime/effects.hpp:9

Related members