Nim for GDExtension. A pure library and a CLI tool.
With this library, all the features of the Godot engine can be used from Nim.
Modules
The following modules are automatically imported by gdext. There is no need to import them explicitly.
- buildconf: It's required to build GDExtension. You must import it from your project's config.nims.
- bridge: Core functionalities of gdext
- appearances: Appearance of properties on the editor inspector
- objectcallbacks: Object callbacks called by the engine
- builtinindex: All type-defs provided by the engine
- objecttools: Handling Object, RefCounted and Node
- varianttools: Handling Variant
- stringtools: Handling String, StringName and NodePath
- arraytools: Handling Array, TypedArray and PackedArray
- dicttools: Handling Dictionary
- othertools: Handling other engine-builtins (RID, Callable and Signal)
- colortools: Handling Color + color pallet
- math: Mathematical (geometrical) functions
- swizzles: GLSLang-like swizzling operator
- utilityfuncs: Printing functions + misc
- conversions: Utility converters to make easier to convert types
- dollars: $ for all engine-builtins
Imports
-
gdext/private/gdinterface, gdext/private/buildsettings, gdext/private/staticevents, gdext/private/internalbridge, gdext/private/native, gdext/private/typeshift, gdext/builtinindex, gdext/bridge, gdext/appearances, gdext/math, gdext/swizzles, gdext/objectcallbacks, gdext/objecttools, gdext/varianttools, gdext/stringtools, gdext/dicttools, gdext/arraytools, gdext/colortools, gdext/othertools, gdext/utilityfuncs, gdext/conversions, gdext/dollars, gdext/classes/gdengine, gdext/extclasses/gdextensionmain, gdext/private/doctools, gdext/buildconf
Templates
template GDExtension_EntryPoint(): untyped
- Responds to initialization requests by Godot and performs extension initialization, such as loading functions and registering classes.