Epok Engine

EPOK RUNTIME

epok::hud_core::pixel

Function · 1 overload

Function

Performs `pixel` as part of native HUD layout, drawing and focus navigation.

Belongs to
epok::hud_core
Header
hud_core.hpp
Overloads
1

Declaration

Declaration
inline int pixel(Fixed v)

Performs `pixel` as part of native HUD layout, drawing and focus navigation.

ParameterTypeMeaning
vFixedValue supplied for v. Keep referenced or pointed-to data valid for the complete call.

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

Example

C++ example
#include "hud_core.hpp"

// Assume these named values have been initialized with valid data:
// Fixed v

auto result = epok::hud_core::pixel(v);

Why use it

It provides direct, allocation-conscious access to native HUD layout, drawing and focus navigation. 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/hud_core.hpp:9

Related members