RaylibTemp<R extends RaylibBase> class
final
Root of the temporary allocator hierarchy for a given RaylibBase context.
Owns the set of typed allocators (e.g. Int8$, Float32$, struct allocators) and governs the lifetime of all slots allocated.
All allocated slots are freed on dispose.
- Inheritance
-
- Object
- RaylibModule<
RaylibBase> - RaylibTemp
Constructors
- RaylibTemp(RaylibBase rl)
Properties
-
$
→ RaylibTemp<
RaylibBase> -
See RaylibTemp.
no setterinherited
-
AudioStream$
↔ RaylibTempStructAllocator<
AudioStreamD> -
latefinal
-
AutomationEvent$
↔ RaylibTempStructAllocator<
AutomationEventD> -
latefinal
-
AutomationEventList$
↔ RaylibTempStructAllocator<
AutomationEventListD> -
latefinal
-
BoneInfo$
↔ RaylibTempStructAllocator<
BoneInfoD> -
latefinal
-
Bool$
↔ RaylibTempScalarAllocator<
bool, RBool> -
latefinal
-
BoundingBox$
↔ RaylibTempStructAllocator<
BoundingBoxD> -
latefinal
-
Camera2D$
↔ RaylibTempStructAllocator<
Camera2DD> -
latefinal
-
Camera3D$
↔ RaylibTempStructAllocator<
Camera3DD> -
latefinal
-
Char$
→ RaylibTempScalarIntAllocator<
Int8List, RChar> -
no setter
-
Color$
↔ RaylibTempStructAllocator<
ColorD> -
latefinal
- doSync → bool
-
Whether sync-back is currently enabled.
no setter
-
Double$
→ RaylibTempScalarFloatAllocator<
Float64List, RDouble> -
no setter
-
FilePathList$
↔ RaylibTempStructAllocator<
FilePathListD> -
latefinal
-
Float$
→ RaylibTempScalarFloatAllocator<
Float32List, RFloat> -
no setter
-
float16$
↔ RaylibTempStructAllocator<
float16D> -
latefinal
-
float3$
↔ RaylibTempStructAllocator<
float3D> -
latefinal
-
Float32$
↔ RaylibTempScalarFloatAllocator<
Float32List, RFloat> -
latefinal
-
Float64$
↔ RaylibTempScalarFloatAllocator<
Float64List, RDouble> -
latefinal
-
Font$
↔ RaylibTempStructAllocator<
FontD> -
latefinal
-
GestureEvent$
↔ RaylibTempStructAllocator<
GestureEventD> -
latefinal
-
GlyphInfo$
↔ RaylibTempStructAllocator<
GlyphInfoD> -
latefinal
- hashCode → int
-
The hash code for this object.
no setterinherited
-
Image$
↔ RaylibTempStructAllocator<
ImageD> -
latefinal
-
Int$
→ RaylibTempScalarIntAllocator<
Int32List, RInt> -
no setter
-
Int16$
↔ RaylibTempScalarIntAllocator<
Int16List, RInt16> -
latefinal
-
Int32$
↔ RaylibTempScalarIntAllocator<
Int32List, RInt> -
latefinal
-
Int64$
↔ RaylibTempScalarIntAllocator<
Int64List, RInt64> -
latefinal
-
Int8$
↔ RaylibTempScalarIntAllocator<
Int8List, RChar> -
latefinal
-
Light$
↔ RaylibTempStructAllocator<
LightD> -
latefinal
-
Material$
↔ RaylibTempStructAllocator<
MaterialD> -
latefinal
-
MaterialMap$
↔ RaylibTempStructAllocator<
MaterialMapD> -
latefinal
-
Matrix$
↔ RaylibTempStructAllocator<
MatrixD> -
latefinal
-
Mesh$
↔ RaylibTempStructAllocator<
MeshD> -
latefinal
-
Model$
↔ RaylibTempStructAllocator<
ModelD> -
latefinal
-
ModelAnimation$
↔ RaylibTempStructAllocator<
ModelAnimationD> -
latefinal
-
ModelSkeleton$
↔ RaylibTempStructAllocator<
ModelSkeletonD> -
latefinal
-
MsfGifResult$
↔ RaylibTempStructAllocator<
MsfGifResultD> -
latefinal
-
MsfGifState$
↔ RaylibTempStructAllocator<
MsfGifStateD> -
latefinal
-
Music$
↔ RaylibTempStructAllocator<
MusicD> -
latefinal
-
NPatchInfo$
↔ RaylibTempStructAllocator<
NPatchInfoD> -
latefinal
-
Quaternion$
↔ RaylibTempStructAllocator<
QuaternionD> -
latefinal
-
Ray$
↔ RaylibTempStructAllocator<
RayD> -
latefinal
-
RayCollision$
↔ RaylibTempStructAllocator<
RayCollisionD> -
latefinal
-
Rectangle$
↔ RaylibTempStructAllocator<
RectangleD> -
latefinal
-
RenderTexture$
↔ RaylibTempStructAllocator<
RenderTextureD> -
latefinal
- rl → RaylibBase
-
finalinherited
-
RlDrawCall$
↔ RaylibTempStructAllocator<
RlDrawCallD> -
latefinal
-
RlRenderBatch$
↔ RaylibTempStructAllocator<
RlRenderBatchD> -
latefinal
-
RlVertexBuffer$
↔ RaylibTempStructAllocator<
RlVertexBufferD> -
latefinal
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
Shader$
↔ RaylibTempStructAllocator<
ShaderD> -
latefinal
-
Short$
→ RaylibTempScalarIntAllocator<
Int16List, RInt16> -
no setter
-
Sound$
↔ RaylibTempStructAllocator<
SoundD> -
latefinal
- String$ ↔ RaylibTempStringAllocator
-
latefinal
-
Texture$
↔ RaylibTempStructAllocator<
TextureD> -
latefinal
-
Transform$
↔ RaylibTempStructAllocator<
TransformD> -
latefinal
- TypedDataList$ ↔ RaylibTempTypedDataListAllocator
-
latefinal
-
Uint16$
↔ RaylibTempScalarIntAllocator<
Uint16List, RUint16> -
latefinal
-
Uint32$
↔ RaylibTempScalarIntAllocator<
Uint32List, RUint32> -
latefinal
-
Uint64$
↔ RaylibTempScalarIntAllocator<
Uint64List, RUint64> -
latefinal
-
Uint8$
↔ RaylibTempScalarIntAllocator<
Uint8List, RUint8> -
latefinal
-
UnsignedChar$
→ RaylibTempScalarIntAllocator<
Uint8List, RUint8> -
no setter
-
UnsignedInt$
→ RaylibTempScalarIntAllocator<
Uint32List, RUint32> -
no setter
-
UnsignedShort$
→ RaylibTempScalarIntAllocator<
Uint16List, RUint16> -
no setter
- Utils ↔ RaylibTempUtils
-
latefinal
-
Vector2$
↔ RaylibTempStructAllocator<
Vector2D> -
latefinal
-
Vector3$
↔ RaylibTempStructAllocator<
Vector3D> -
latefinal
-
Vector4$
↔ RaylibTempStructAllocator<
Vector4D> -
latefinal
-
VrDeviceInfo$
↔ RaylibTempStructAllocator<
VrDeviceInfoD> -
latefinal
-
VrStereoConfig$
↔ RaylibTempStructAllocator<
VrStereoConfigD> -
latefinal
-
Wave$
↔ RaylibTempStructAllocator<
WaveD> -
latefinal
Methods
-
createStructAllocator<
X extends RaylibStruct< (X> >StructType< X> struct, {bool registerType = true}) → RaylibTempStructAllocator<X> - Creates and registers a struct allocator.
-
debug(
bool v) → void -
Enables or disables debug logging for this module.
inherited
-
debugError(
String message) → void -
Logs
messageat error level if debug is enabled andmessagepasses all filters.inherited -
debugFilter(
bool filter(String)) → void -
Adds a predicate that gates debug output. Only messages satisfying at least one filter are logged.
inherited
-
debugFree(
bool v) → void - Enables or disables logging of slot deallocation events.
-
debugFreeInfo(
String message) → void -
Logs
messageif free debugging is enabled. -
debugInfo(
String message) → void -
Logs
messageat info level if debug is enabled andmessagepasses all filters.inherited -
debugSync(
bool v) → void - Enables or disables logging of struct sync-back events.
-
debugSyncInfo(
String message) → void -
Logs
messageif sync debugging is enabled. -
debugTime(
bool v) → void -
Enables or disables per-call timing output alongside debug logs.
inherited
-
debugWarn(
String message) → void -
Logs
messageat warn level if debug is enabled andmessagepasses all filters.inherited -
disableSync<
T> (T f()) → T -
Executes
fwith RaylibTemp syncing temporarily disabled, restoring the previous sync state afterward.inherited -
dispose(
) → void -
Frees all allocators, then delegates to RaylibModule.dispose.
override
-
disposeStructWithOpFreed<
D extends RaylibStruct< (D> >D struct, void fn(StructPointer< D> ptr)) → void -
Disposes
struct, invokesfnwith its underlying pointer, and then frees the temporary allocation backing the pointer, if any.inherited -
disposeStructWithOpUnslotted<
D extends RaylibStruct< (D> >D struct, void fn(StructPointer< D> ptr)) → void -
Disposes
struct, invokesfnwith its underlying pointer, and then unslots the temporary allocation backing the pointer, if any.inherited -
enableSyncing(
bool sync) → void - Enables or disables struct sync-back after C calls. See RaylibModule.disableSync.
-
load(
) → void -
Override to perform one-time module initialization.
override
-
logError(
Object? message) → void -
inherited
-
logInfo(
Object? message) → void -
inherited
-
logWarn(
Object? message) → void -
inherited
-
nextId(
) → int - Returns a monotonically increasing ID, used to generate unique slot keys.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onDispose(
void fn()) → void -
Registers
fnto be called when this module is disposed.inherited -
run<
T> (String name(), T f()) → T -
Executes
f, logging its label (and optionally timing it) when debug is enabled and the label passes all filters.inherited -
scalarAlloc<
Y extends RType> () → RaylibTempScalarAllocator< dynamic, RType> ? -
Returns the struct allocator registered under struct type
X. -
structAlloc<
X extends RaylibStruct< (X> >) → RaylibTempStructAllocator< X> ? -
Returns the struct allocator registered under struct type
X. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited