Epok Engine

EPOK RUNTIME

epok::SceneLibrary::set_screen_fade

Method · 1 overload

Method

Sets screen fade as part of the gameplay api module.

Belongs to
epok::SceneLibrary
Header
gameplay_api.hpp
Overloads
1

Declaration

static
Declaration
static void set_screen_fade(uint32_t value)

Sets screen fade as part of the gameplay api module.

ParameterTypeMeaning
valueuint32_tValue supplied for value. Keep referenced or pointed-to data valid for the complete call.

Returns: Nothing (void).

Example

C++ example
#include "gameplay_api.hpp"

// Assume these named values have been initialized with valid data:
// uint32_t value

epok::SceneLibrary::set_screen_fade(value);

Why use it

It provides direct, allocation-conscious access to the gameplay api module. 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/gameplay_api.hpp:292

Related members