GGUI::BindingReader struct

How bindings read data. Supplied by the integration layer per update.

Public variables

void* Context
float(* Read
Current value of a field. Sets bValid false if the target no longer exists.
bool(* Changed
Optional. Return false to skip evaluating a target's bindings because nothing changed. Null: evaluate everything.
bool(* ReadBits
Optional. The field's exact value, for widgets that edit in the field's type (int64, Fixed32).
BigNumber(* ReadBig
Optional. Reads a BigNumber field (see BigField). Null: such fields read as invalid.

Variable documentation

void* GGUI::BindingReader::Context

passed to each function

bool(* GGUI::BindingReader::ReadBits

Optional. The field's exact value, for widgets that edit in the field's type (int64, Fixed32).

kind is a ValueKind; bits receives the raw bytes. Return false to fall back to Read.