Epok Engine

EPOK RUNTIME

epok::gameplay_tween_state

Function · 1 overload

Function

Performs `gameplay tween state` as part of the utility module.

Belongs to
epok
Header
utility.hpp
Overloads
1

Declaration

Declaration
inline GameplayTweenState gameplay_tween_state(const Tween& value)

Performs `gameplay tween state` as part of the utility module.

ParameterTypeMeaning
valueconst Tween &Value supplied for value. Keep referenced or pointed-to data valid for the complete call.

Returns: GameplayTweenState. Check the value before continuing when it represents success, availability or a resource handle.

Example

C++ example
#include "utility.hpp"

// Assume these named values have been initialized with valid data:
// const Tween & value

auto result = epok::gameplay_tween_state(value);

Why use it

It provides direct, allocation-conscious access to the utility module. No exception-based error path is implied by the signature.

Trade-offs and warnings

Pointer/reference arguments are borrowed unless the source contract says otherwise; keep them valid for the complete operation and never assume null is accepted.

Declared in runtime/utility.hpp:158

Related members