Trade-offs and warnings
Consult the linked header for this operation’s ownership, lifetime and failure behavior.
EPOK RUNTIME
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.
Performs `capture` as part of native HUD layout, drawing and focus navigation.
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.
| Parameter | Type | Meaning |
|---|---|---|
parity | unsigned int | Not documented; consult the linked header. |
owner | size_t | Not documented; consult the linked header. |
entities | const ActorData * | Not documented; consult the linked header. |
count | size_t | Not documented; consult the linked header. |
rect | Rect | Not documented; consult the linked header. |
transform | const Affine2 & | Not documented; consult the linked header. |
first | uint32_t | Not documented; consult the linked header. |
textures | uintptr_t | Not documented; consult the linked header. |
fonts | uintptr_t | Not documented; consult the linked header. |
Returns: Nothing (void).
#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);Consult the linked header for this operation’s ownership, lifetime and failure behavior.
Declared in runtime/hud_core.hpp:216
appliedCommit only after every prepare check succeeded and this packet was written.MethodbeginBegins begin as part of native HUD layout, drawing and focus navigation.MethodendEnds end as part of native HUD layout, drawing and focus navigation.MethodinvalidatePerforms `invalidate` as part of native HUD layout, drawing and focus navigation.MethodpreparePerforms `prepare` as part of native HUD layout, drawing and focus navigation.MethodsealPerforms `seal` as part of native HUD layout, drawing and focus navigation.Method