Epok Engine

EPOK RUNTIME

epok::HudRenderer::write_rectangle

Function template · 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.

Function template

Writes rectangle as part of native HUD layout, drawing and focus navigation.

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

Declaration

template
Declaration
template<class Rectangle> void write_rectangle(unsigned parity,size_t index,const Rectangle& rectangle)

Writes rectangle as part of native HUD layout, drawing and focus navigation.

ParameterTypeMeaning
parityunsigned intNot documented; consult the linked header.
indexsize_tNot documented; consult the linked header.
rectangleconst Rectangle &Not documented; consult the linked header.

Returns: Nothing (void).

Example sketch

C++ example
#include "hud.hpp"

// Replace these template arguments with types or values accepted by the declaration:
// Rectangle

// Assume these named values have been initialized with valid data:
// unsigned int parity
// size_t index
// const Rectangle & rectangle

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

object.write_rectangle<Rectangle>(parity, index, rectangle);

Trade-offs and warnings

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

Declared in runtime/hud.hpp:102

Related members