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 %}) #

[View source]

Instance Method Detail

def create_godot_instance(argc : Int32, argv : Pointer(Pointer(UInt8)), init_func : GDExtensionInitializationFunction) : GDExtensionObjectPtr #

[View source]
def destroy_godot_instance(instance : GDExtensionObjectPtr) : Void #

[View source]
def dll_path : String #

[View source]
def load(path : String) : Bool #

[View source]
def loaded? : Bool #

[View source]