Epok Engine

EPOK RUNTIME

epok::lighting_detail::pair

Function · 1 overload

Function

Performs `pair` as part of the lighting module.

Belongs to
epok::lighting_detail
Header
lighting.hpp
Overloads
1

Declaration

Declaration
inline uint32_t pair(int32_t a,int32_t b)

Performs `pair` as part of the lighting module.

ParameterTypeMeaning
aint32_tValue supplied for a. Keep referenced or pointed-to data valid for the complete call.
bint32_tValue supplied for b. Keep referenced or pointed-to data valid for the complete call.

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

Example

C++ example
#include "lighting.hpp"

// Assume these named values have been initialized with valid data:
// int32_t a
// int32_t b

auto result = epok::lighting_detail::pair(a, b);

Why use it

It provides direct, allocation-conscious access to the lighting 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/lighting.hpp:100

Related members