ResourceLoaderSingleton

Resource Loader.

This is a static object accessible as ResourceLoader. GDScript has a simplified load() function, though.

Members

Aliases

BaseClasses
alias BaseClasses = AliasSeq!(typeof(_GODOT_base), typeof(_GODOT_base).BaseClasses)
Undocumented in source.

Functions

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.

Mixins

__anonymous
mixin baseCasts
Undocumented in source.

Static functions

_new
ResourceLoaderSingleton _new()
Undocumented in source. Be warned that the author may not have intended to support it.

Static variables

_classBindingInitialized
bool _classBindingInitialized;
Undocumented in source.

Structs

_classBinding
struct _classBinding
Undocumented in source.

Unions

__anonymous
union __anonymous
Undocumented in source.

Variables

_GODOT_internal_name
enum string _GODOT_internal_name;
Undocumented in source.

Mixed In Members

From mixin baseCasts

as
To as()
Undocumented in source. Be warned that the author may not have intended to support it.
as
To as()
Undocumented in source. Be warned that the author may not have intended to support it.
as
ToRef as()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
template opCast(To)
Undocumented in source.
opCast
template opCast(To)
Undocumented in source.
opCast
template opCast(ToRef)
Undocumented in source.
opCast
void* opCast()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
godot_object opCast()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
bool opCast()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta