ESCResourceCache
Extends: Reference
Description
A cache for resources
Property Descriptions
thread
var thread: Thread
mutex
var mutex: Mutex
sem
var sem: Semaphore
queue
var queue: Array
pending
var pending: Dictionary
Method Descriptions
queue_resource
func queue_resource(path: String, p_in_front: bool = false, p_permanent: bool = false)
cancel_resource
func cancel_resource(path)
clear
func clear()
get_progress
func get_progress(path)
is_ready
func is_ready(path)
get_resource
func get_resource(path)
thread_process
func thread_process()
thread_func
func thread_func(u)
warning-ignore:unused_argument
print_progress
func print_progress(p_path, p_progress)
res_loaded
func res_loaded(p_path)
print_queue_progress
func print_queue_progress(p_queue_size)
start
func start()
Signals
signal resource_loading_progress(path, progress):
signal resource_loading_done(path):
signal resource_queue_progress(queue_size):