godot.api.register

Initialization, termination, and registration of D libraries in Godot

Members

Enums

LoadDRuntime
enum LoadDRuntime

Pass to GodotNativeLibrary to control D runtime initialization/termination. Default is yes unless compiling with BetterC.

Functions

register
void register(GDExtensionClassLibraryPtr lib)

Register a class and all its @GodotMethod member functions into Godot.

unregister
void unregister(GDExtensionClassLibraryPtr lib)

Register a class and all its @GodotMethod member functions into Godot.

Mixin templates

GodotNativeLibrary
mixintemplate GodotNativeLibrary(string symbolPrefix, Args...)

This mixin will generate the GDExtension C interface functions for this D library. Pass to it a name string for the library, followed by the GodotScript types to register, functions to call, and other options to configure Godot-D.

Static variables

_GODOT_library
GDExtensionClassLibraryPtr _GODOT_library;
Undocumented in source.

Templates

fileClassesAsLazyImports
template fileClassesAsLazyImports(FileInfo f)
Undocumented in source.

Variables

is_
enum bool is_(alias a);
Undocumented in source.

Meta