raylib library

Classes

AudioCallbackD
AudioStreamC
AudioStreamD
AutomationEventC
AutomationEventD
AutomationEventListC
AutomationEventListD
BoneInfoC
BoneInfoD
BoundingBoxC
BoundingBoxD
CallbackD<C extends Function, D extends Function>
A Dart-side wrapper around a NativeCallable<C>, bridging a Dart function of type D to a native callback of type C.
Camera2DC
Camera2DD
Camera3DC
Camera3DD
ColorC
ColorD
DoNotValidate
FilePathListC
FilePathListD
FontC
FontD
GlyphInfoC
GlyphInfoD
ImageC
ImageD
LightC
LightD
LoadFileDataCallbackD
LoadFileTextCallbackD
MaterialC
MaterialD
MaterialMapC
MaterialMapD
MatrixC
MatrixD
MeshC
MeshD
ModelAnimationC
ModelAnimationD
ModelC
ModelD
MouseButtonInfo
MouseInfo<Vector2StructType>
MusicC
MusicD
NativeAlloc<C extends NativeType>
A slot-based temporary memory allocator for a single native type C.
NativeLitAlloc<X, C extends NativeType>
A NativeAlloc that also knows how to write Dart values of type X into native C memory, and supports typed-list array operations.
NativeLitFloatAlloc<C extends NativeType, L extends TypedDataList>
A typed-list allocator for floating-point native types (e.g. Float, Double).
NativeLitIntAlloc<C extends NativeType, L extends TypedDataList>
A typed-list allocator for integer native types (e.g. Int32, Uint8).
NativeLitPtrAlloc<X, C extends NativeType>
A slot-based allocator for arrays of pointers to literal elements.
NativeLitTypedListAlloc<X, C extends NativeType, L extends TypedDataList>
Extends NativeLitAlloc with typed-list bulk copy support.
NativeLiveListArray<C extends NativeType, E>
NativeLiveListArrayFloat
NativeLiveListArrayInt
NativeLiveListArrayStruct<C extends Struct, D extends StructD<C, D>>
NativeLiveListArrayUnsignedChar
NativeLiveListArrayUnsignedInt
NativeLiveListArrayUnsignedShort
NativeLiveListPointer<C extends NativeType, E>
NativeLiveListPointerFloat
NativeLiveListPointerInt
NativeLiveListPointerPointerStruct<C extends Struct, D extends StructD<C, D>>
NativeLiveListPointerStruct<C extends Struct, D extends StructD<C, D>>
NativeLiveListPointerUnsignedChar
NativeLiveListPointerUnsignedInt
NativeLiveListPointerUnsignedShort
NativeStringAlloc
A specialised slot-based allocator for C strings (Pointer\<Char>).
NativeStructAlloc<C extends Struct, D extends StructD<C, D>>
A slot-based allocator for native structs of type C, accepting Dart-side StructD wrappers of type D.
NativeStructPtrAlloc<C extends Struct, D extends StructD<C, D>>
A slot-based allocator for arrays of pointers to native structs of type C.
NativeTypedDataListAlloc
NPatchInfoC
NPatchInfoD
QuaternionC
QuaternionD
rAudioBuffer
rAudioProcessor
RayC
RayCollisionC
RayCollisionD
RayD
Raylib
RaylibAudio
RaylibAudioD
RaylibAudioModuleBase<R extends RaylibBase, AudioStreamStructType extends AudioStreamBase<AudioStreamStructType>, MusicStructType extends MusicBase<MusicStructType, AudioStreamStructType>, SoundStructType extends SoundBase<SoundStructType, AudioStreamStructType>, WaveStructType extends WaveBase<WaveStructType>, AudioCallbackType extends AudioCallbackBase>
Backend-agnostic contract for the Raylib Audio module.
RaylibAudioModuleCaptureIds
Produces stable slot key strings identifying the allocation origin of each Audio module function's captured Struct.
RaylibAudioModuleDebugLabels
Produces human-readable debug strings for each Audio module function call, logged to the console when debug output is enabled.
RaylibBase
Root class for a fully initialized Raylib context, exposing all modules, extensions, lifecycle management, and forwarded constants and functions.
RaylibCamera
RaylibCameraD
RaylibCameraModuleBase<R extends RaylibBase, Camera3DStructType extends Camera3DBase<Camera3DStructType, Vector3StructType, MatrixStructType, QuaternionStructType, Vector4StructType>, MatrixStructType extends MatrixBase<MatrixStructType, Vector3StructType, QuaternionStructType, Vector4StructType>, QuaternionStructType extends QuaternionBase<QuaternionStructType, MatrixStructType, Vector3StructType, Vector4StructType>, Vector3StructType extends Vector3Base<Vector3StructType, MatrixStructType, QuaternionStructType, Vector4StructType>, Vector4StructType extends Vector4Base<Vector4StructType, QuaternionStructType, MatrixStructType, Vector3StructType>>
Backend-agnostic contract for the Raylib Camera module.
RaylibCameraModuleDebugLabels
Produces human-readable debug strings for each Camera module function call, logged to the console when debug output is enabled.
RaylibColorExtensionBase<R extends RaylibBase, ColorStructType>
Provides Raylib's predefined color constants as typed ColorStructType instances, and exposes color utility functions as module-level calls.
RaylibColors
RaylibConstants
Dart-side mirror of Raylib's compile-time constants (RAYLIB_VERSION, PI, etc.), kept in the base package so both backends share a single source of truth.
RaylibCore
RaylibCoreD
RaylibCoreModuleBase<R extends RaylibBase, UnsignedCharPointerType, AutomationEventListStructType extends AutomationEventListBase<AutomationEventListStructType, AutomationEventStructType>, AutomationEventStructType extends AutomationEventBase<AutomationEventStructType>, BoneInfoStructType extends BoneInfoBase<BoneInfoStructType>, BoundingBoxStructType extends BoundingBoxBase<BoundingBoxStructType, Vector3StructType, MatrixStructType, QuaternionStructType, Vector4StructType>, Camera2DStructType extends Camera2DBase<Camera2DStructType, Vector2StructType, MatrixStructType, Vector3StructType, QuaternionStructType, Vector4StructType>, Camera3DStructType extends Camera3DBase<Camera3DStructType, Vector3StructType, MatrixStructType, QuaternionStructType, Vector4StructType>, ColorStructType extends ColorBase<ColorStructType>, FilePathListStructType extends FilePathListBase<FilePathListStructType>, FontStructType extends FontBase<FontStructType, TextureStructType, RectangleStructType, GlyphInfoStructType, ImageStructType>, GlyphInfoStructType extends GlyphInfoBase<GlyphInfoStructType, ImageStructType>, ImageStructType extends ImageBase<ImageStructType>, MaterialStructType extends MaterialBase<MaterialStructType, ShaderStructType, MaterialMapStructType, TextureStructType, ColorStructType>, MaterialMapStructType extends MaterialMapBase<MaterialMapStructType, TextureStructType, ColorStructType>, MatrixStructType extends MatrixBase<MatrixStructType, Vector3StructType, QuaternionStructType, Vector4StructType>, MeshStructType extends MeshBase<MeshStructType, MatrixStructType, Vector3StructType, QuaternionStructType, Vector4StructType>, ModelStructType extends ModelBase<ModelStructType, MeshStructType, MatrixStructType, Vector3StructType, QuaternionStructType, Vector4StructType, MaterialStructType, ShaderStructType, MaterialMapStructType, TextureStructType, ColorStructType, TransformStructType, BoneInfoStructType>, ModelAnimationStructType extends ModelAnimationBase<ModelAnimationStructType, BoneInfoStructType, TransformStructType, Vector3StructType, MatrixStructType, QuaternionStructType, Vector4StructType>, NPatchInfoStructType extends NPatchInfoBase<NPatchInfoStructType, RectangleStructType>, QuaternionStructType extends QuaternionBase<QuaternionStructType, MatrixStructType, Vector3StructType, Vector4StructType>, RayStructType extends RayBase<RayStructType, Vector3StructType, MatrixStructType, QuaternionStructType, Vector4StructType>, RayCollisionStructType extends RayCollisionBase<RayCollisionStructType, Vector3StructType, MatrixStructType, QuaternionStructType, Vector4StructType>, RectangleStructType extends RectangleBase<RectangleStructType>, RenderTextureStructType extends RenderTextureBase<RenderTextureStructType, TextureStructType>, ShaderStructType extends ShaderBase<ShaderStructType>, TextureStructType extends TextureBase<TextureStructType>, TransformStructType extends TransformBase<TransformStructType, Vector3StructType, MatrixStructType, QuaternionStructType, Vector4StructType>, Vector2StructType extends Vector2Base<Vector2StructType, MatrixStructType, Vector3StructType, QuaternionStructType, Vector4StructType>, Vector3StructType extends Vector3Base<Vector3StructType, MatrixStructType, QuaternionStructType, Vector4StructType>, Vector4StructType extends Vector4Base<Vector4StructType, QuaternionStructType, MatrixStructType, Vector3StructType>, VrDeviceInfoStructType extends VrDeviceInfoBase<VrDeviceInfoStructType>, VrStereoConfigStructType extends VrStereoConfigBase<VrStereoConfigStructType, MatrixStructType, Vector3StructType, QuaternionStructType, Vector4StructType>, LoadFileDataCallbackType extends LoadFileDataCallbackBase, SaveFileDataCallbackType extends SaveFileDataCallbackBase, LoadFileTextCallbackType extends LoadFileTextCallbackBase, SaveFileTextCallbackType extends SaveFileTextCallbackBase>
Backend-agnostic contract for the Raylib Core module.
RaylibCoreModuleCaptureIds
Produces stable slot key strings identifying the allocation origin of each Core module function's captured Struct.
RaylibCoreModuleDebugLabels
Produces human-readable debug strings for each Core module function call, logged to the console when debug output is enabled.
RaylibDebugLabelsBase
Base for module debug label generators, providing shared formatting utilities.
RaylibEaseExtensionBase<R extends RaylibBase>
Exposes Raylib's easing functions as module-level calls.
RaylibEasings
RaylibFunctions
Pure Dart implementations of Raylib's inline/math utility functions, shared across backends to avoid duplicating logic that doesn't touch native memory.
RaylibGame
RaylibGameBase<R extends RaylibBase>
Platform-agnostic game lifecycle interface for Raylib applications.
RaylibGui
RaylibGuiConstants
Dart-side mirror of raygui's compile-time constants (RAYGUI_VERSION, RAYGUI_ICONS, etc.), kept in the base package so both backends share a single source of truth.
RaylibGuiD
RaylibGuiModuleBase<R extends RaylibBase, ColorStructType extends ColorBase<ColorStructType>, FontStructType extends FontBase<FontStructType, TextureStructType, RectangleStructType, GlyphInfoStructType, ImageStructType>, GlyphInfoStructType extends GlyphInfoBase<GlyphInfoStructType, ImageStructType>, ImageStructType extends ImageBase<ImageStructType>, MatrixStructType extends MatrixBase<MatrixStructType, Vector3StructType, QuaternionStructType, Vector4StructType>, QuaternionStructType extends QuaternionBase<QuaternionStructType, MatrixStructType, Vector3StructType, Vector4StructType>, RectangleStructType extends RectangleBase<RectangleStructType>, TextureStructType extends TextureBase<TextureStructType>, Vector2StructType extends Vector2Base<Vector2StructType, MatrixStructType, Vector3StructType, QuaternionStructType, Vector4StructType>, Vector3StructType extends Vector3Base<Vector3StructType, MatrixStructType, QuaternionStructType, Vector4StructType>, Vector4StructType extends Vector4Base<Vector4StructType, QuaternionStructType, MatrixStructType, Vector3StructType>>
Backend-agnostic contract for the Raylib Gui module.
RaylibGuiModuleCaptureIds
Produces stable slot key strings identifying the allocation origin of each Gui module function's captured Struct.
RaylibGuiModuleDebugLabels
Produces human-readable debug strings for each Gui module function call, logged to the console when debug output is enabled.
RaylibLight
RaylibLightD
RaylibLightModuleBase<R extends RaylibBase, ColorStructType extends ColorBase<ColorStructType>, LightStructType extends LightBase<LightStructType, Vector3StructType, MatrixStructType, QuaternionStructType, Vector4StructType, ColorStructType>, MatrixStructType extends MatrixBase<MatrixStructType, Vector3StructType, QuaternionStructType, Vector4StructType>, QuaternionStructType extends QuaternionBase<QuaternionStructType, MatrixStructType, Vector3StructType, Vector4StructType>, ShaderStructType extends ShaderBase<ShaderStructType>, Vector3StructType extends Vector3Base<Vector3StructType, MatrixStructType, QuaternionStructType, Vector4StructType>, Vector4StructType extends Vector4Base<Vector4StructType, QuaternionStructType, MatrixStructType, Vector3StructType>>
Backend-agnostic contract for the Raylib Light module.
RaylibLightModuleDebugLabels
Produces human-readable debug strings for each Light module function call, logged to the console when debug output is enabled.
RaylibLiveList<E>
Concrete _RaylibLiveListBase for untyped element lists.
RaylibMatrices
RaylibMatrixExtensionBase<R extends RaylibBase, MatrixStructType extends MatrixBase<MatrixStructType, Vector3StructType, QuaternionStructType, Vector4StructType>, QuaternionStructType extends QuaternionBase<QuaternionStructType, MatrixStructType, Vector3StructType, Vector4StructType>, RectangleStructType extends RectangleBase<RectangleStructType>, Vector3StructType extends Vector3Base<Vector3StructType, MatrixStructType, QuaternionStructType, Vector4StructType>, Vector4StructType extends Vector4Base<Vector4StructType, QuaternionStructType, MatrixStructType, Vector3StructType>>
Exposes Raylib's matrix math API as module-level functions by delegating to the corresponding MatrixBase methods/factories. Exists purely for Raylib API symmetry.
RaylibMatrixFactories
Backend-agnostic factory hub for MatrixBase construction.
RaylibModule<R extends RaylibBase>
Base class for all Raylib module wrappers, providing debug logging, lifecycle management, and sync control tied to a RaylibBase context rl.
RaylibQuaternionExtensionBase<R extends RaylibBase, MatrixStructType extends MatrixBase<MatrixStructType, Vector3StructType, QuaternionStructType, Vector4StructType>, QuaternionStructType extends QuaternionBase<QuaternionStructType, MatrixStructType, Vector3StructType, Vector4StructType>, RectangleStructType extends RectangleBase<RectangleStructType>, Vector2StructType extends Vector2Base<Vector2StructType, MatrixStructType, Vector3StructType, QuaternionStructType, Vector4StructType>, Vector3StructType extends Vector3Base<Vector3StructType, MatrixStructType, QuaternionStructType, Vector4StructType>, Vector4StructType extends Vector4Base<Vector4StructType, QuaternionStructType, MatrixStructType, Vector3StructType>>
Exposes Raylib's quaternion math API as module-level functions by delegating to the corresponding QuaternionBase methods/factories. Exists purely for Raylib API symmetry.
RaylibQuaternionFactories
Backend-agnostic factory hub for QuaternionBase construction.
RaylibQuaternions
RaylibRlgl
RaylibRlglConstants
Dart-side mirror of Rlgl's compile-time constants (RLGL_VERSION, RL_DEFAULT_BATCH_BUFFER_ELEMENTS, etc.), kept in the base package so both backends share a single source of truth.
RaylibRlglD
RaylibRlglModuleBase<R extends RaylibBase, MatrixStructType extends MatrixBase<MatrixStructType, Vector3StructType, QuaternionStructType, Vector4StructType>, QuaternionStructType extends QuaternionBase<QuaternionStructType, MatrixStructType, Vector3StructType, Vector4StructType>, RlDrawCallStructType extends RlDrawCallBase<RlDrawCallStructType>, RlRenderBatchStructType extends RlRenderBatchBase<RlRenderBatchStructType, RlVertexBufferStructType, RlDrawCallStructType>, RlVertexBufferStructType extends RlVertexBufferBase<RlVertexBufferStructType>, Vector3StructType extends Vector3Base<Vector3StructType, MatrixStructType, QuaternionStructType, Vector4StructType>, Vector4StructType extends Vector4Base<Vector4StructType, QuaternionStructType, MatrixStructType, Vector3StructType>>
Backend-agnostic contract for the Raylib Rlgl module.
RaylibRlglModuleCaptureIds
Produces stable slot key strings identifying the allocation origin of each Rlgl module function's captured Struct.
RaylibRlglModuleDebugLabels
Produces human-readable debug strings for each Rlgl module function call, logged to the console when debug output is enabled.
RaylibStructBase<T extends RaylibTempBase<RaylibBase>, P, D extends RaylibStructBase<T, P, D>>
Backend-agnostic base for Raylib struct mirror objects that are backed by native memory, adding originalPointer ownership tracking on top of RaylibStructObjectBase.
RaylibTemp
RaylibTempAllocatorBase<TempType extends RaylibTempBase<RaylibBase>, P, S>
Base class for Raylib temporary allocators, managing typed memory slots with a consistent allocation/free lifecycle.
RaylibTempBase<R extends RaylibBase>
Root of the temporary allocator hierarchy for a given RaylibBase context.
RaylibTempBaseOptions
Configuration options for RaylibTempBase.
RaylibTempStructState
Per-instance allocation state for a RaylibStructBase mirror object, tracking its current slot key, tag, disposal status, and stable identity across repeated RaylibTempStructAllocatorBase.PointerTo calls.
RaylibTempTypedDataListAllocator<TempType extends RaylibTempBase<RaylibBase>, ResultPointerType>
Dispatches a TypedDataList to the correct typed allocator on temp, allowing callers to allocate any supported typed list without knowing the concrete element type at the call site.
RaylibUtils
RaylibUtilsModuleBase<R extends RaylibBase>
RaylibVector2Factories
Backend-agnostic factory hub for Vector2Base construction.
RaylibVector3Factories
Backend-agnostic factory hub for Vector3Base construction.
RaylibVector4Factories
Backend-agnostic factory hub for Vector4Base construction.
RaylibVectorExtensionBase<R extends RaylibBase, MatrixStructType extends MatrixBase<MatrixStructType, Vector3StructType, QuaternionStructType, Vector4StructType>, QuaternionStructType extends QuaternionBase<QuaternionStructType, MatrixStructType, Vector3StructType, Vector4StructType>, Vector2StructType extends Vector2Base<Vector2StructType, MatrixStructType, Vector3StructType, QuaternionStructType, Vector4StructType>, Vector3StructType extends Vector3Base<Vector3StructType, MatrixStructType, QuaternionStructType, Vector4StructType>, Vector4StructType extends Vector4Base<Vector4StructType, QuaternionStructType, MatrixStructType, Vector3StructType>>
Exposes Raylib's vector math API as module-level functions by delegating to the corresponding Vector2Base/Vector3Base/Vector4Base methods/factories. Exists purely for Raylib API symmetry.
RaylibVectors
RectangleC
RectangleD
RenderTextureC
RenderTextureD
RlDrawCallC
RlDrawCallD
RlRenderBatchC
RlRenderBatchD
RlVertexBufferC
RlVertexBufferD
SaveFileDataCallbackD
SaveFileTextCallbackD
ShaderC
ShaderD
SoundC
SoundD
StructD<C extends Struct, D extends StructD<C, D>>
Abstract Dart-side mirror of a native struct of type C.
StructDLiteral<C extends Struct, D extends StructD<C, D>>
A StructD for value-type structs that are always passed by value.
StructDView<C extends Struct, D extends StructD<C, D>>
A read-only StructD that wraps an existing native pointer without owning it.
TextureC
TextureD
TransformC
TransformD
Vector2C
Vector2D
Vector3C
Vector3D
Vector4C
Vector4D
VrDeviceInfoC
VrDeviceInfoD
VrStereoConfigC
VrStereoConfigD
WaveC
WaveD

Enums

BlendMode
Raylib BlendMode enum.
CameraMode
Raylib CameraMode enum.
CameraProjection
Raylib CameraProjection enum.
ConfigFlags
Raylib ConfigFlags enum.
CubemapLayout
Raylib CubemapLayout enum.
FontType
Raylib FontType enum.
GamepadAxis
Raylib GamepadAxis enum.
GamepadButton
Raylib GamepadButton enum.
Gesture
Raylib Gesture enum.
GuiCheckBoxProperty
raygui GuiCheckBoxProperty enum.
GuiColorPickerProperty
raygui GuiColorPickerProperty enum.
GuiComboBoxProperty
raygui GuiComboBoxProperty enum.
GuiControl
raygui GuiControl enum.
GuiControlProperty
raygui GuiControlProperty enum.
GuiDefaultProperty
raygui GuiDefaultProperty enum.
GuiDropdownBoxProperty
raygui GuiDropdownBoxProperty enum.
GuiIconName
raygui GuiIconName enum.
GuiListViewProperty
raygui GuiListViewProperty enum.
GuiProgressBarProperty
raygui GuiProgressBarProperty enum.
GuiScrollBarProperty
raygui GuiScrollBarProperty enum.
GuiSliderProperty
raygui GuiSliderProperty enum.
GuiState
raygui GuiState enum.
GuiTextAlignment
raygui GuiTextAlignment enum.
GuiTextAlignmentVertical
raygui GuiTextAlignmentVertical enum.
GuiTextBoxProperty
raygui GuiTextBoxProperty enum.
GuiTextWrapMode
raygui GuiTextWrapMode enum.
GuiToggleProperty
raygui GuiToggleProperty enum.
GuiValueBoxProperty
raygui GuiValueBoxProperty enum.
KeyboardKey
Raylib KeyboardKey enum.
LightType
Raylib LightType enum.
MaterialMapIndex
Raylib MaterialMapIndex enum.
MouseButton
Raylib MouseButton enum.
MouseCursor
Raylib MouseCursor enum.
MusicContextType
Raylib MusicContextType enum.
NPatchLayout
Raylib NPatchLayout enum.
PixelFormat
Raylib PixelFormat enum.
RlCullMode
Rlgl CullMode enum.
RlDrawMode
Rlgl DrawMode enum.
RlFramebufferAttachTextureType
Rlgl FramebufferAttachTextureType enum.
RlFramebufferAttachType
Rlgl FramebufferAttachType enum.
RlGlVersion
Rlgl GlVersion enum.
RlMatrixMode
Rlgl MatrixMode enum.
RlShaderAttributeDataType
Rlgl ShaderAttributeDataType enum.
RlShaderType
Rlgl ShaderType enum.
RlShaderUniformDataType
Rlgl ShaderUniformDataType enum.
RlUsageHint
Rlgl UsageHint enum.
ShaderLocationIndex
Raylib ShaderLocationIndex enum.
ShaderUniformDataType
Raylib ShaderUniformDataType enum.
TextureFilter
Raylib TextureFilter enum.
TextureWrap
Raylib TextureWrap enum.
TraceLogLevel
Raylib TraceLogLevel enum.

Mixins

AudioCallbackBase
Marker for audio stream callbacks (AudioCallback in Raylib).
AudioStreamBase<X extends AudioStreamBase<X>>
Backend-agnostic contract for AudioStreamBase structs.
AutomationEventBase<X extends AutomationEventBase<X>>
Backend-agnostic contract for AutomationEventBase structs.
AutomationEventListBase<X extends AutomationEventListBase<X, A>, A extends AutomationEventBase<A>>
Backend-agnostic contract for AutomationEventListBase structs.
BoneInfoBase<X extends BoneInfoBase<X>>
Backend-agnostic contract for BoneInfoBase structs.
BoundingBoxBase<X extends BoundingBoxBase<X, V3, M, Q, V4>, V3 extends Vector3Base<V3, M, Q, V4>, M extends MatrixBase<M, V3, Q, V4>, Q extends QuaternionBase<Q, M, V3, V4>, V4 extends Vector4Base<V4, Q, M, V3>>
Backend-agnostic contract for BoundingBoxBase structs.
Camera2DBase<X extends Camera2DBase<X, V2, M, V3, Q, V4>, V2 extends Vector2Base<V2, M, V3, Q, V4>, M extends MatrixBase<M, V3, Q, V4>, V3 extends Vector3Base<V3, M, Q, V4>, Q extends QuaternionBase<Q, M, V3, V4>, V4 extends Vector4Base<V4, Q, M, V3>>
Backend-agnostic contract for Camera2DBase structs.
Camera3DBase<X extends Camera3DBase<X, V3, M, Q, V4>, V3 extends Vector3Base<V3, M, Q, V4>, M extends MatrixBase<M, V3, Q, V4>, Q extends QuaternionBase<Q, M, V3, V4>, V4 extends Vector4Base<V4, Q, M, V3>>
Backend-agnostic contract for Camera3DBase structs.
ColorBase<X extends ColorBase<X>>
Backend-agnostic contract for ColorBase structs.
FEnum
FilePathListBase<X extends FilePathListBase<X>>
Backend-agnostic contract for FilePathListBase structs.
FontBase<X extends FontBase<X, T, R, G, I>, T extends TextureBase<T>, R extends RectangleBase<R>, G extends GlyphInfoBase<G, I>, I extends ImageBase<I>>
Backend-agnostic contract for FontBase structs.
GlyphInfoBase<X extends GlyphInfoBase<X, I>, I extends ImageBase<I>>
Backend-agnostic contract for GlyphInfoBase structs.
GuiProperty
Marker for raygui property enums, each exposing a raw value for use with the GUI styling API.
ImageBase<X extends ImageBase<X>>
Backend-agnostic contract for ImageBase structs.
LightBase<X extends LightBase<X, V3, M, Q, V4, C>, V3 extends Vector3Base<V3, M, Q, V4>, M extends MatrixBase<M, V3, Q, V4>, Q extends QuaternionBase<Q, M, V3, V4>, V4 extends Vector4Base<V4, Q, M, V3>, C extends ColorBase<C>>
Backend-agnostic contract for LightBase structs.
LoadFileDataCallbackBase
Marker for custom file data load callbacks (LoadFileDataCallback in Raylib).
LoadFileTextCallbackBase
Marker for custom file data load callbacks (LoadFileTextCallback in Raylib).
MaterialBase<X extends MaterialBase<X, S, M, T, C>, S extends ShaderBase<S>, M extends MaterialMapBase<M, T, C>, T extends TextureBase<T>, C extends ColorBase<C>>
Backend-agnostic contract for MaterialBase structs.
MaterialMapBase<X extends MaterialMapBase<X, T, C>, T extends TextureBase<T>, C extends ColorBase<C>>
Backend-agnostic contract for MaterialMapBase structs.
MatrixBase<M extends MatrixBase<M, V3, Q, V4>, V3 extends Vector3Base<V3, M, Q, V4>, Q extends QuaternionBase<Q, M, V3, V4>, V4 extends Vector4Base<V4, Q, M, V3>>
Backend-agnostic contract for MatrixBase structs.
MeshBase<X extends MeshBase<X, M, V3, Q, V4>, M extends MatrixBase<M, V3, Q, V4>, V3 extends Vector3Base<V3, M, Q, V4>, Q extends QuaternionBase<Q, M, V3, V4>, V4 extends Vector4Base<V4, Q, M, V3>>
Backend-agnostic contract for MeshBase structs.
ModelAnimationBase<X extends ModelAnimationBase<X, B, T, V3, M, Q, V4>, B extends BoneInfoBase<B>, T extends TransformBase<T, V3, M, Q, V4>, V3 extends Vector3Base<V3, M, Q, V4>, M extends MatrixBase<M, V3, Q, V4>, Q extends QuaternionBase<Q, M, V3, V4>, V4 extends Vector4Base<V4, Q, M, V3>>
Backend-agnostic contract for ModelAnimationBase structs.
ModelBase<X extends ModelBase<X, MeshType, MatrixType, V3, Q, V4, MaterialType, ShaderType, MaterialMapType, TextureType, ColorType, TransformType, BoneInfoType>, MeshType extends MeshBase<MeshType, MatrixType, V3, Q, V4>, MatrixType extends MatrixBase<MatrixType, V3, Q, V4>, V3 extends Vector3Base<V3, MatrixType, Q, V4>, Q extends QuaternionBase<Q, MatrixType, V3, V4>, V4 extends Vector4Base<V4, Q, MatrixType, V3>, MaterialType extends MaterialBase<MaterialType, ShaderType, MaterialMapType, TextureType, ColorType>, ShaderType extends ShaderBase<ShaderType>, MaterialMapType extends MaterialMapBase<MaterialMapType, TextureType, ColorType>, TextureType extends TextureBase<TextureType>, ColorType extends ColorBase<ColorType>, TransformType extends TransformBase<TransformType, V3, MatrixType, Q, V4>, BoneInfoType extends BoneInfoBase<BoneInfoType>>
Backend-agnostic contract for ModelBase structs.
MusicBase<X extends MusicBase<X, A>, A extends AudioStreamBase<A>>
Backend-agnostic contract for MusicBase structs.
NPatchInfoBase<X extends NPatchInfoBase<X, R>, R extends RectangleBase<R>>
Backend-agnostic contract for NPatchInfoBase structs.
QuaternionBase<Q extends QuaternionBase<Q, M, V3, V4>, M extends MatrixBase<M, V3, Q, V4>, V3 extends Vector3Base<V3, M, Q, V4>, V4 extends Vector4Base<V4, Q, M, V3>>
Backend-agnostic contract for QuaternionBase structs.
RayBase<X extends RayBase<X, V3, M, Q, V4>, V3 extends Vector3Base<V3, M, Q, V4>, M extends MatrixBase<M, V3, Q, V4>, Q extends QuaternionBase<Q, M, V3, V4>, V4 extends Vector4Base<V4, Q, M, V3>>
Backend-agnostic contract for RayBase structs.
RayCollisionBase<X extends RayCollisionBase<X, V3, M, Q, V4>, V3 extends Vector3Base<V3, M, Q, V4>, M extends MatrixBase<M, V3, Q, V4>, Q extends QuaternionBase<Q, M, V3, V4>, V4 extends Vector4Base<V4, Q, M, V3>>
Backend-agnostic contract for RayCollisionBase structs.
RaylibCallbackBase
Base for all Raylib callback wrappers, identified by name.
RaylibEnum
Adds ordered comparison operators to Raylib enums that expose a raw value, mirroring C enum integer semantics.
RaylibGuiModuleExtras<R extends RaylibBase>
Re-exports RaylibGuiConstants values as instance members, so constants are accessible directly on the module without a class qualifier.
RaylibRlglModuleExtras<R extends RaylibBase>
Re-exports RaylibRlglConstants values as instance members, so constants are accessible directly on the module without a class qualifier.
RaylibStructObjectBase<T>
Core identity and copy contract for Raylib struct mirror objects, shared between pure Dart value types and native-backed RaylibStructBase instances.
RaylibTempLiteralAllocatorBase<TempType extends RaylibTempBase<RaylibBase>, X, P, S>
Extends RaylibTempAllocatorBase with the ability to write individual Dart values directly into allocated memory.
RaylibTempLiteralFloatAllocatorBase<TempType extends RaylibTempBase<RaylibBase>, L extends TypedDataList, P, S>
Specializes RaylibTempLiteralTypedListAllocatorBase for floating-point element types.
RaylibTempLiteralIntAllocatorBase<TempType extends RaylibTempBase<RaylibBase>, L extends TypedDataList, P, S>
Specializes RaylibTempLiteralTypedListAllocatorBase for integer element types, adding integer-specific allocation helpers on top of the typed list interop.
RaylibTempLiteralPointerAllocatorBase<TempType extends RaylibTempBase<RaylibBase>, X, PP, P, S>
Extends RaylibTempAllocatorBase with the ability to allocate pointer-to-pointer slots, where PP is the outer pointer type and X is the pointee's Dart-side value.
RaylibTempLiteralTypedListAllocatorBase<TempType extends RaylibTempBase<RaylibBase>, X, L extends TypedDataList, P, S>
Extends RaylibTempLiteralAllocatorBase with typed list interop, the ability to view allocated memory as a Dart List<X> and construct a typed list from an iterable.
RaylibTempStringAllocatorBase<TempType extends RaylibTempBase<RaylibBase>, PP, P, S>
Extends RaylibTempAllocatorBase with string allocation, handling UTF-8 encoding and null-termination into temporary slots. PP is the char-pointer-pointer type, P the char-pointer type.
RaylibTempStructAllocatorBase<TempType extends RaylibTempBase<RaylibBase>, X extends RaylibStructBase<TempType, P, X>, V, P, S>
Extends RaylibTempAllocatorBase with struct allocation, providing PointerTo, _Ref, _RefOrNull, _RefUpdate, and _Extract helpers for Dart mirror objects (X) backed by native structs (V).
RaylibTempStructPointerAllocatorBase<TempType extends RaylibTempBase<RaylibBase>, X extends RaylibStructBase<TempType, P, X>, PP, P, S>
Extends RaylibTempAllocatorBase with pointer-to-struct allocation, where PP holds a pointer to P rather than the struct itself. Used when a C function expects a Struct** argument.
RectangleBase<X extends RectangleBase<X>>
Backend-agnostic contract for RectangleBase structs.
RenderTextureBase<X extends RenderTextureBase<X, T>, T extends TextureBase<T>>
Backend-agnostic contract for RenderTextureBase structs.
RlDrawCallBase<X extends RlDrawCallBase<X>>
Backend-agnostic contract for RlDrawCallBase structs.
RlRenderBatchBase<X extends RlRenderBatchBase<X, V, D>, V extends RlVertexBufferBase<V>, D extends RlDrawCallBase<D>>
Backend-agnostic contract for RlRenderBatchBase structs.
RlVertexBufferBase<X extends RlVertexBufferBase<X>>
Backend-agnostic contract for RlVertexBufferBase structs.
SaveFileDataCallbackBase
Marker for custom file data load callbacks (SaveFileDataCallback in Raylib).
SaveFileTextCallbackBase
Marker for custom file data load callbacks (SaveFileTextCallback in Raylib).
ShaderBase<X extends ShaderBase<X>>
Backend-agnostic contract for ShaderBase structs.
SoundBase<X extends SoundBase<X, A>, A extends AudioStreamBase<A>>
Backend-agnostic contract for SoundBase structs.
TextureBase<X extends TextureBase<X>>
Backend-agnostic contract for TextureBase structs.
TransformBase<X extends TransformBase<X, V3, M, Q, V4>, V3 extends Vector3Base<V3, M, Q, V4>, M extends MatrixBase<M, V3, Q, V4>, Q extends QuaternionBase<Q, M, V3, V4>, V4 extends Vector4Base<V4, Q, M, V3>>
Backend-agnostic contract for TransformBase structs.
Vector2Base<V2 extends Vector2Base<V2, M, V3, Q, V4>, M extends MatrixBase<M, V3, Q, V4>, V3 extends Vector3Base<V3, M, Q, V4>, Q extends QuaternionBase<Q, M, V3, V4>, V4 extends Vector4Base<V4, Q, M, V3>>
Backend-agnostic contract for Vector2Base structs.
Vector3Base<V3 extends Vector3Base<V3, M, Q, V4>, M extends MatrixBase<M, V3, Q, V4>, Q extends QuaternionBase<Q, M, V3, V4>, V4 extends Vector4Base<V4, Q, M, V3>>
Backend-agnostic contract for Vector3Base structs.
Vector4Base<V4 extends Vector4Base<V4, Q, M, V3>, Q extends QuaternionBase<Q, M, V3, V4>, M extends MatrixBase<M, V3, Q, V4>, V3 extends Vector3Base<V3, M, Q, V4>>
Backend-agnostic contract for Vector4Base structs.
VrDeviceInfoBase<X extends VrDeviceInfoBase<X>>
Backend-agnostic contract for VrDeviceInfoBase structs.
VrStereoConfigBase<X extends VrStereoConfigBase<X, M, V3, Q, V4>, M extends MatrixBase<M, V3, Q, V4>, V3 extends Vector3Base<V3, M, Q, V4>, Q extends QuaternionBase<Q, M, V3, V4>, V4 extends Vector4Base<V4, Q, M, V3>>
Backend-agnostic contract for VrStereoConfigBase structs.
WaveBase<X extends WaveBase<X>>
Backend-agnostic contract for WaveBase structs.

Extensions

AudioStreamCEx on AudioStreamC
AudioStreamCPEx on Pointer<AudioStreamC>
AutomationEventCEx on AutomationEventC
AutomationEventCPEx on Pointer<AutomationEventC>
AutomationEventListCEx on AutomationEventListC
AutomationEventListCPEx on Pointer<AutomationEventListC>
BoneInfoCEx on BoneInfoC
BoneInfoCPEx on Pointer<BoneInfoC>
BoolAsInt on bool
BoundingBoxCEx on BoundingBoxC
BoundingBoxCPEx on Pointer<BoundingBoxC>
Camera2DCEx on Camera2DC
Camera2DCPEx on Pointer<Camera2DC>
Camera3DCEx on Camera3DC
Camera3DCPEx on Pointer<Camera3DC>
CharCodeString on String
CharPointerEx on Pointer<Char>
ColorCEx on ColorC
ColorCPEx on Pointer<ColorC>
CString on String
DoubleFormatting on double
Convenience getters for formatting a double to a fixed number of decimal places.
FilePathListCEx on FilePathListC
FilePathListCPEx on Pointer<FilePathListC>
FontCEx on FontC
FontCPEx on Pointer<FontC>
GetStringFromArrayChar on Array<Char>
GlyphInfoCEx on GlyphInfoC
GlyphInfoCPEx on Pointer<GlyphInfoC>
ImageCEx on ImageC
ImageCPEx on Pointer<ImageC>
IntAsBool on int
IntHex on int
IterableFEnumEx on Iterable<FEnum>
IterableIntEx on Iterable<int>
LightCEx on LightC
LightCPEx on Pointer<LightC>
MaterialCEx on MaterialC
MaterialCPEx on Pointer<MaterialC>
MaterialMapCEx on MaterialMapC
MaterialMapCPEx on Pointer<MaterialMapC>
MatrixCEx on MatrixC
MatrixCPEx on Pointer<MatrixC>
MeshCEx on MeshC
MeshCPEx on Pointer<MeshC>
ModelAnimationCEx on ModelAnimationC
ModelAnimationCPEx on Pointer<ModelAnimationC>
ModelCEx on ModelC
ModelCPEx on Pointer<ModelC>
MusicCEx on MusicC
MusicCPEx on Pointer<MusicC>
NPatchInfoCEx on NPatchInfoC
NPatchInfoCPEx on Pointer<NPatchInfoC>
QuaternionCEx on QuaternionC
QuaternionCPEx on Pointer<QuaternionC>
RayCEx on RayC
RayCollisionCEx on RayCollisionC
RayCollisionCPEx on Pointer<RayCollisionC>
RayCPEx on Pointer<RayC>
RectangleCEx on RectangleC
RectangleCPEx on Pointer<RectangleC>
RenderTextureCEx on RenderTextureC
RenderTextureCPEx on Pointer<RenderTextureC>
RlDrawCallCEx on RlDrawCallC
RlDrawCallCPEx on Pointer<RlDrawCallC>
RlRenderBatchCEx on RlRenderBatchC
RlRenderBatchCPEx on Pointer<RlRenderBatchC>
RlVertexBufferCEx on RlVertexBufferC
RlVertexBufferCPEx on Pointer<RlVertexBufferC>
ShaderCEx on ShaderC
ShaderCPEx on Pointer<ShaderC>
SoundCEx on SoundC
SoundCPEx on Pointer<SoundC>
TextureCEx on TextureC
TextureCPEx on Pointer<TextureC>
TransformCEx on TransformC
TransformCPEx on Pointer<TransformC>
Vector2CEx on Vector2C
Vector2CPEx on Pointer<Vector2C>
Vector3CEx on Vector3C
Vector3CPEx on Pointer<Vector3C>
Vector4CEx on Vector4C
Vector4CPEx on Pointer<Vector4C>
VrDeviceInfoCEx on VrDeviceInfoC
VrDeviceInfoCPEx on Pointer<VrDeviceInfoC>
VrStereoConfigCEx on VrStereoConfigC
VrStereoConfigCPEx on Pointer<VrStereoConfigC>
WaveCEx on WaveC
WaveCPEx on Pointer<WaveC>

Functions

findRaylib(String folder, [RaylibTempBaseOptions? tempOptions]) Raylib
runRaylib(RaylibGame game, {String? nativeLibPath}) → void

Typedefs

AudioCallbackC = Pointer<NativeFunction<AudioCallbackFunctionC>>
AudioCallbackFunctionC = Void Function(Pointer<Void> bufferData, UnsignedInt frames)
AudioCallbackFunctionD = void Function(Pointer<Void> bufferData, int frames)
LoadFileDataCallbackC = Pointer<NativeFunction<LoadFileDataCallbackFunctionC>>
LoadFileDataCallbackFriendlyFunctionD = Pointer<UnsignedChar> Function(String fileName, Pointer<Int> dataSize)
LoadFileDataCallbackFunctionC = Pointer<UnsignedChar> Function(Pointer<Char> fileName, Pointer<Int> dataSize)
LoadFileDataCallbackFunctionD = Pointer<UnsignedChar> Function(Pointer<Char> fileName, Pointer<Int> dataSize)
LoadFileTextCallbackC = Pointer<NativeFunction<LoadFileTextCallbackFunctionC>>
LoadFileTextCallbackFriendlyFunctionD = String Function(String fileName)
LoadFileTextCallbackFunctionC = Pointer<Char> Function(Pointer<Char> fileName)
LoadFileTextCallbackFunctionD = Pointer<Char> Function(Pointer<Char> fileName)
RaylibLookup = Pointer<T> Function<T extends NativeType>(String symbolName)
SaveFileDataCallbackC = Pointer<NativeFunction<SaveFileDataCallbackFunctionC>>
SaveFileDataCallbackFriendlyFunctionD = bool Function(String fileName, Pointer<Void> data, int dataSize)
SaveFileDataCallbackFunctionC = Bool Function(Pointer<Char> fileName, Pointer<Void> data, Int dataSize)
SaveFileDataCallbackFunctionD = bool Function(Pointer<Char> fileName, Pointer<Void> data, int dataSize)
SaveFileTextCallbackC = Pointer<NativeFunction<SaveFileTextCallbackFunctionC>>
SaveFileTextCallbackFriendlyFunctionD = bool Function(String fileName, String text)
SaveFileTextCallbackFunctionC = Bool Function(Pointer<Char> fileName, Pointer<Char> text)
SaveFileTextCallbackFunctionD = bool Function(Pointer<Char> fileName, Pointer<Char> text)