godot.d.register

Initialization, termination, and registration of D libraries in Godot

Members

Aliases

GodotInitOptions
alias GodotInitOptions = const(godot_gdnative_init_options*)
Undocumented in source.
GodotTerminateOptions
alias GodotTerminateOptions = const(godot_gdnative_terminate_options*)
Undocumented in source.

Enums

LoadDRuntime
enum LoadDRuntime

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

Functions

register
void register(void* handle, GDNativeLibrary 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 GDNative 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.

Templates

fileClassesAsLazyImports
template fileClassesAsLazyImports(FileInfo f)
Undocumented in source.

Variables

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

Meta