Epok Engine

EPOK RUNTIME

epok::scene_tick

Function · 1 overload

Function

Performs `scene tick` as part of scene lifecycle and scene-stack control.

Belongs to
epok
Header
scene_service.hpp
Overloads
1

Declaration

Declaration
inline bool scene_tick(psyqo::GPU& gpu)

Performs `scene tick` as part of scene lifecycle and scene-stack control.

ParameterTypeMeaning
gpupsyqo::GPU &Value supplied for gpu. Keep referenced or pointed-to data valid for the complete call.

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

Example

C++ example
#include "scene_service.hpp"

// Assume these named values have been initialized with valid data:
// psyqo::GPU & gpu

auto result = epok::scene_tick(gpu);

Why use it

The boolean result makes success, availability or state explicit without exceptions.

Trade-offs and warnings

Check the return value; `false` is part of normal control flow for many PSX resource operations. This is classified as **Engine internal**. Prefer a higher-level Epok service unless you need this exact control. 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/scene_service.hpp:56

Related members