class LibGodot::DynamicLoader

Overview

Dynamically loaded table for flexible runtime resolution on Windows

Defined in:

libgodot/c_api.cr

Constructors

Instance Method Summary

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 #

def destroy_godot_instance(instance : GDExtensionObjectPtr) : Void #

def dll_path : String #

def load(path : String) : Bool #

def loaded? : Bool #