Epok Engine

EPOK RUNTIME

epok::Tween::cycles_remaining

Method · 1 overload

Method

Performs `cycles remaining` as part of the utility module.

Belongs to
epok::Tween
Header
utility.hpp
Overloads
1

Declaration

const
Declaration
uint32_t cycles_remaining()const

Performs `cycles remaining` as part of the utility module.

This overload takes no parameters.

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

Example

C++ example
#include "utility.hpp"

epok::Tween& object = /* obtain a valid instance */;

auto result = object.cycles_remaining();

Why use it

The method is `const`, so it does not mutate the object through this API surface.

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/utility.hpp:96

Related members