class
LibGodot::DynamicLoader
- LibGodot::DynamicLoader
- Reference
- Object
Overview
Dynamically loaded table for flexible runtime resolution on Windows
Defined in:
libgodot/c_api.crConstructors
- .new(dll_path : String = {% if flag?(:windows) %} "libgodot.dll" {% else %} "libgodot.so" {% end %})
Instance Method Summary
- #create_godot_instance(argc : Int32, argv : Pointer(Pointer(UInt8)), init_func : GDExtensionInitializationFunction) : GDExtensionObjectPtr
- #destroy_godot_instance(instance : GDExtensionObjectPtr) : Void
- #dll_path : String
- #load(path : String) : Bool
- #loaded? : Bool
Constructor Detail
def self.new(dll_path : String = {% if flag?(:windows) %} "libgodot.dll" {% else %} "libgodot.so" {% end %})
#
Instance Method Detail
def create_godot_instance(argc : Int32, argv : Pointer(Pointer(UInt8)), init_func : GDExtensionInitializationFunction) : GDExtensionObjectPtr
#