Epok Engine

EPOK RUNTIME

epok::effect_world

Function · 1 overload

Function

Performs `effect world` as part of runtime effects and their deterministic playback state.

Belongs to
epok
Header
particle_effect_service.hpp
Overloads
1

Declaration

Declaration
Affine<Fixed> effect_world(DataHandle)

Performs `effect world` as part of runtime effects and their deterministic playback state.

ParameterTypeMeaning
arg1DataHandleValue supplied for arg1. Keep referenced or pointed-to data valid for the complete call.

Returns: Affine<Fixed>. Check the value before continuing when it represents success, availability or a resource handle.

Example

C++ example
#include "particle_effect_service.hpp"

// Assume these named values have been initialized with valid data:
// DataHandle arg1

auto result = epok::effect_world(arg1);

Why use it

It provides direct, allocation-conscious access to runtime effects and their deterministic playback state. No exception-based error path is implied by the signature.

Trade-offs and warnings

Call it only in the lifecycle phase described by the module. Validate indices, capacities and object state before use.

Declared in runtime/particle_effect_service.hpp:5

Related members