High level GDNative
Single header GDNative high level API for C/C++
|
Custom math types | Useful definitions for Godot math types |
Global GDNative pointers | Global API structs and GDNativeLibrary pointers |
Initialization and deinitialization | Initialize and deinitialize library, to be called on your own godot_gdnative_init and godot_gdnative_terminate functions |
Memory related functions | stdlib.h compatible functions that track memory usage when Godot is running in debug mode |
Printing functions | Functions that print a printf formatted message to Godot's output |
Runtime assertions | Macros that check for a condition, aborting current function if this condition is false |
String wrapper | Wrapper around String/CharStrings with pointer and length |
Pool*Array wrapper | Wrapper around Pool*Array types with pointer and array size |
Typed values from Variants | Helper functions to get values directly from a godot_variant |
Typed values from Arrays | Helper functions to get values directly from a godot_array position |
Typed values from method arguments | Helper functions to get values directly from method arguments |
Typed values from Dictionaries | Helper functions to get values directly from a godot_dictionary with Variant or String key |
Variant constructors | Helper functions to create Variant values |
String creation | Helper functions to create Strings |
Pool*Array/Array creation | Helper functions to create Pool*Array/Array objects from sized buffers |
Dictionary creation | Helper functions to create Dictionaries |
Object functions | Helper functions to work with godot_object values |
NativeScript helpers | Definitions that help registering classes in Godot, focusing on wrapping C structs |