ResourceLoader
Inherits: Object
There is currently no description for this class. Please help us by contributing one!
Methods
void |
add_resource_format_loader ( ResourceFormatLoader format_loader, bool at_front=false ) |
get_dependencies ( String path ) |
|
get_recognized_extensions_for_type ( String type ) |
|
get_resource_uid ( String path ) |
|
has_cached ( String path ) |
|
load ( String path, String type_hint=””, CacheMode cache_mode=1 ) |
|
load_threaded_get ( String path ) |
|
load_threaded_get_status ( String path, Array progress=[] ) |
|
load_threaded_request ( String path, String type_hint=””, bool use_sub_threads=false, CacheMode cache_mode=1 ) |
|
void |
remove_resource_format_loader ( ResourceFormatLoader format_loader ) |
void |
set_abort_on_missing_resources ( bool abort ) |
Enumerations
enum ThreadLoadStatus:
ThreadLoadStatus THREAD_LOAD_INVALID_RESOURCE = 0
There is currently no description for this enum. Please help us by contributing one!
ThreadLoadStatus THREAD_LOAD_IN_PROGRESS = 1
There is currently no description for this enum. Please help us by contributing one!
ThreadLoadStatus THREAD_LOAD_FAILED = 2
There is currently no description for this enum. Please help us by contributing one!
ThreadLoadStatus THREAD_LOAD_LOADED = 3
There is currently no description for this enum. Please help us by contributing one!
enum CacheMode:
CacheMode CACHE_MODE_IGNORE = 0
There is currently no description for this enum. Please help us by contributing one!
CacheMode CACHE_MODE_REUSE = 1
There is currently no description for this enum. Please help us by contributing one!
CacheMode CACHE_MODE_REPLACE = 2
There is currently no description for this enum. Please help us by contributing one!
CacheMode CACHE_MODE_IGNORE_DEEP = 3
There is currently no description for this enum. Please help us by contributing one!
CacheMode CACHE_MODE_REPLACE_DEEP = 4
There is currently no description for this enum. Please help us by contributing one!
Method Descriptions
void add_resource_format_loader ( ResourceFormatLoader format_loader, bool at_front=false )
There is currently no description for this method. Please help us by contributing one!
bool exists ( String path, String type_hint=”” )
There is currently no description for this method. Please help us by contributing one!
PackedStringArray get_dependencies ( String path )
There is currently no description for this method. Please help us by contributing one!
PackedStringArray get_recognized_extensions_for_type ( String type )
There is currently no description for this method. Please help us by contributing one!
int get_resource_uid ( String path )
There is currently no description for this method. Please help us by contributing one!
bool has_cached ( String path )
There is currently no description for this method. Please help us by contributing one!
Resource load ( String path, String type_hint=””, CacheMode cache_mode=1 )
There is currently no description for this method. Please help us by contributing one!
Resource load_threaded_get ( String path )
There is currently no description for this method. Please help us by contributing one!
ThreadLoadStatus load_threaded_get_status ( String path, Array progress=[] )
There is currently no description for this method. Please help us by contributing one!
Error load_threaded_request ( String path, String type_hint=””, bool use_sub_threads=false, CacheMode cache_mode=1 )
There is currently no description for this method. Please help us by contributing one!
void remove_resource_format_loader ( ResourceFormatLoader format_loader )
There is currently no description for this method. Please help us by contributing one!
void set_abort_on_missing_resources ( bool abort )
There is currently no description for this method. Please help us by contributing one!