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

Caller-owned stable source identity and revision. More...

#include <draw_target.h>

Data Fields

uint64_t identity
uint64_t generation

Detailed Description

Caller-owned stable source identity and revision.

Both values must be nonzero. Never reuse an identity/generation pair for different bytes or dimensions, even after storage is freed. Advance generation before recording changed pixels; use a fresh identity if generation would wrap. Keep the stamp and source header immutable and alive through submit/discard.

Caller-owned resource entry; release clears every pointer on success/error. identity is a face generation for GLYPH, original pixel-address bits for PINNED_RGBA/MASK, and zero for snapshots/substreams.

Field Documentation

◆ identity

uint64_t rmgui_source_stamp_t::identity

◆ generation

uint64_t rmgui_source_stamp_t::generation

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