Epok Engine

EPOK RUNTIME

epok::hud_core::ImageReuseCache::capture

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 `capture` as part of native HUD layout, drawing and focus navigation.

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

Declaration

Declaration
void capture(unsigned parity,size_t owner,const ActorData* entities,size_t count,Rect rect,const Affine2& transform, uint32_t first,uintptr_t textures,uintptr_t fonts)

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

ParameterTypeMeaning
parityunsigned intNot documented; consult the linked header.
ownersize_tNot documented; consult the linked header.
entitiesconst ActorData *Not documented; consult the linked header.
countsize_tNot documented; consult the linked header.
rectRectNot documented; consult the linked header.
transformconst Affine2 &Not documented; consult the linked header.
firstuint32_tNot documented; consult the linked header.
texturesuintptr_tNot documented; consult the linked header.
fontsuintptr_tNot 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:
// unsigned int parity
// size_t owner
// const ActorData * entities
// size_t count
// Rect rect
// const Affine2 & transform
// uint32_t first
// uintptr_t textures
// uintptr_t fonts

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

object.capture(parity, owner, entities, count, rect, transform, first, textures, fonts);

Trade-offs and warnings

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

Declared in runtime/hud_core.hpp:216

Related members