Epok Engine

EPOK RUNTIME

epok::HudRenderer::texture_size

Method · 1 overload

Declarations are extracted from the pinned headers. Examples and general guidance are generated sketches, not verified complete programs; consult the linked source and guides for the actual contract.

Method

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

Belongs to
epok::HudRenderer
Header
hud.hpp
Overloads
1

Declaration

Declaration
bool texture_size(int id,int& width,int& height)

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

ParameterTypeMeaning
idintNot documented; consult the linked header.
widthint &Not documented; consult the linked header.
heightint &Not documented; consult the linked header.

Returns: bool. Consult the linked header for its meaning.

Example sketch

C++ example
#include "hud.hpp"

// Assume these named values have been initialized with valid data:
// int id
// int & width
// int & height

epok::HudRenderer& object = /* obtain a valid instance */;

auto result = object.texture_size(id, width, height);

Trade-offs and warnings

Consult the linked header for this operation’s ownership, lifetime and failure behavior.

Declared in runtime/hud.hpp:101

Related members