Epok Engine

EPOK RUNTIME

epok::hud_core::Compiler::draw

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

Draws draw as part of native HUD layout, drawing and focus navigation.

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

Declaration

Declaration
void draw(ActorData* entities,size_t count,int* first,int* next,Fixed (*sizes)[2],Rect* boxes,Affine2* affines,bool measure_intrinsics=false)

Draws draw as part of native HUD layout, drawing and focus navigation.

ParameterTypeMeaning
entitiesActorData *Not documented; consult the linked header.
countsize_tNot documented; consult the linked header.
firstint *Not documented; consult the linked header.
nextint *Not documented; consult the linked header.
sizesFixed (*)[2]Not documented; consult the linked header.
boxesRect *Not documented; consult the linked header.
affinesAffine2 *Not documented; consult the linked header.
measure_intrinsicsboolNot documented; consult the linked header.

Returns: Nothing (void).

Example sketch

C++ example
#include "hud_core.hpp"

// Assume these named values have been initialized with valid data:
// ActorData * entities
// size_t count
// int * first
// int * next
// Fixed (*)[2] sizes
// Rect * boxes
// Affine2 * affines
// bool measure_intrinsics

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

object.draw(entities, count, first, next, sizes, boxes, affines, measure_intrinsics);

Trade-offs and warnings

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

Declared in runtime/hud_core.hpp:709

Related members