gdext

Search:
Group by:

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

Templates

template GDExtension_EntryPoint(): untyped
Responds to initialization requests by Godot and performs extension initialization, such as loading functions and registering classes.