godot.api.bind

Templates for binding Godot C++ classes to use from D

The binding generator will implement these templates for the classes in Godot's API JSON.

Public Imports

godot.refcounted
public import godot.refcounted;
Undocumented in source.

Members

Functions

callBuiltinMethod
Return callBuiltinMethod(GDExtensionPtrBuiltInMethod method, GDExtensionTypePtr obj, Args args)

Raw Method call helper

callv
Return callv(MB method, godot_object self, Args args)

Variant call, for virtual and vararg methods.

checkClassBinding
void checkClassBinding()
Undocumented in source. Be warned that the author may not have intended to support it.
initializeClassBinding
void initializeClassBinding()
Undocumented in source. Be warned that the author may not have intended to support it.
ptrcall
RefOrT!Return ptrcall(MB method, godot_object self, Args args)

Direct pointer call through MethodBind.

Mixin templates

baseCasts
mixintemplate baseCasts()
Undocumented in source.

Structs

GodotConstructor
struct GodotConstructor(Return, Args...)
Undocumented in source.
GodotMethod
struct GodotMethod(Return, Args...)

Definition of a method from API JSON.

GodotName
struct GodotName
Undocumented in source.
GodotVarArgs
struct GodotVarArgs

Type to mark varargs GodotMethod.

MethodHash
struct MethodHash
Undocumented in source.

Templates

tempType
template tempType(Src, Dest)

temporary var if conversion is needed

Variables

needsConversion
enum bool needsConversion(Src, Dest);
Undocumented in source.

Meta