Epok Engine

EPOK RUNTIME

epok::gameplay_focus

Function · 1 overload

Function

Performs `gameplay focus` as part of the utility module.

Belongs to
epok
Header
utility.hpp
Overloads
1

Declaration

Declaration
inline Focus<16>& gameplay_focus()

Performs `gameplay focus` as part of the utility module.

This overload takes no parameters.

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

Example

C++ example
#include "utility.hpp"

auto result = epok::gameplay_focus();

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

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

Declared in runtime/utility.hpp:157

Related members