class

Godot::ResourceLoader

Inherits Godot::Object < Reference < Object

Godot ResourceLoader singleton (ResourceLoader).

Constructors

instance
Source
new(pointer : Pointer(Void) = Pointer(Void).null)
Source

Class methods

singleton_ptr
Source

Instance methods

add_resource_format_loader(format_loader : ResourceFormatLoader, at_front : Bool) : Void
Source
exists(path : String, type_hint : String) : Bool
Source
get_cached_ref(path : String) : Resource
Source
get_dependencies(path : String) : Pointer(Void)
Source
get_recognized_extensions_for_type(get_type : String) : Pointer(Void)
Source
get_resource_type(path : String) : String
Source
get_resource_uid(path : String) : Int64
Source
has_cached(path : String) : Bool
Source
list_directory(directory_path : String) : Pointer(Void)
Source
load(path : String, type_hint : String, cache_mode : Int64) : Resource
Source
load_threaded_get(path : String) : Resource
Source
load_threaded_get_status(path : String, progress : Godot::Array) : Int64
Source
load_threaded_request(path : String, type_hint : String, use_sub_threads : Bool, cache_mode : Int64) : Int64
Source
remove_resource_format_loader(format_loader : ResourceFormatLoader) : Void
Source
set_abort_on_missing_resources(abort : Bool) : Void
Source

Nested types