- exists
bool exists(StringArg0 path, StringArg1 type_hint)
- getDependencies
PoolStringArray getDependencies(StringArg0 path)
- getRecognizedExtensionsForType
PoolStringArray getRecognizedExtensionsForType(StringArg0 type)
Return the list of recognized extensions for a resource type.
- has
bool has(StringArg0 path)
- hasCached
bool hasCached(StringArg0 path)
- load
Ref!Resource load(StringArg0 path, StringArg1 type_hint, bool p_no_cache)
- loadInteractive
Ref!ResourceInteractiveLoader loadInteractive(StringArg0 path, StringArg1 type_hint)
Load a resource interactively, the returned object allows to load with high granularity.
- opAssign
ResourceLoaderSingleton opAssign(T n)
Undocumented in source. Be warned that the author may not have intended to support it.
- opEquals
bool opEquals(ResourceLoaderSingleton other)
Undocumented in source. Be warned that the author may not have intended to support it.
- opEquals
bool opEquals(typeof(null) n)
Undocumented in source. Be warned that the author may not have intended to support it.
- setAbortOnMissingResources
void setAbortOnMissingResources(bool abort)
Change the behavior on missing sub-resources. Default is to abort load.
Resource Loader.
This is a static object accessible as ResourceLoader. GDScript has a simplified load() function, though.