RMGui 0.15.0
C11 retained-mode UI library: layout kernel, style schema, widget painters, fonts, software framebuffer
Loading...
Searching...
No Matches
rmgui_tracks_t Struct Reference

Caller-owned arrays, disjoint from this pool and borrowed recipes, with byte extents <= SIZE_MAX. More...

#include <tracks.h>

Data Fields

rmgui_track_t * slots
size_t capacity
rmgui_track_event_t * events
size_t event_capacity
size_t event_count
uint64_t next_order
uint32_t time_scale_q16
uint8_t paused

Detailed Description

Caller-owned arrays, disjoint from this pool and borrowed recipes, with byte extents <= SIZE_MAX.

Serialise access to each pool; distinct pools share no mutable state. Hosts write paused and time_scale_q16 (zero is stopped, ONE normal speed), and reset event_count to zero after polling. Other fields are private. Completed held slots remain occupied until clear; an unheld completion frees its slot after queueing its event.

Field Documentation

◆ slots

rmgui_track_t* rmgui_tracks_t::slots

◆ capacity

size_t rmgui_tracks_t::capacity

◆ events

rmgui_track_event_t* rmgui_tracks_t::events

◆ event_capacity

size_t rmgui_tracks_t::event_capacity

◆ event_count

size_t rmgui_tracks_t::event_count

◆ next_order

uint64_t rmgui_tracks_t::next_order

◆ time_scale_q16

uint32_t rmgui_tracks_t::time_scale_q16

◆ paused

uint8_t rmgui_tracks_t::paused

The documentation for this struct was generated from the following file: