RaylibTempStructState class final

Per-instance allocation state for a RaylibStruct mirror object, tracking its current slot key, tag, disposal status, and stable identity across repeated RaylibTempStructAllocator.Allocate calls.

Mixed-in types

Constructors

RaylibTempStructState()

Properties

hashCode → int
The hash code for this object.
no setterinherited
internalId ↔ int?
A stable numeric ID assigned on first RaylibTempStructAllocator.Allocate call for pointer-owning structs.
getter/setter pair
isAllocated ↔ bool
Whether RaylibTempStructAllocator.Allocate has ever been called for this instance.
getter/setter pair
isDisposed ↔ bool
Whether RaylibStruct.structMarkDisposed has been called on this instance.
getter/setter pair
isFirstSync ↔ bool
Whether RaylibTempStructAllocator.Allocate has never been called for this instance.
getter/setter pair
nextId → int
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tag ↔ String
The slot tag used to disambiguate RaylibTemp keys for this instance.
getter/setter pair

Methods

dispose() → void
Calls all registered onDispose callbacks and clears them.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onDispose(void fn()) → void
Registers fn to be called when this module is disposed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited