ESCResourceCache
Extends: Node
Description
A cache for resources
Members
queue
var queue: Array
pending
var pending: Dictionary
Signals
resource_loading_progress
signal resource_loading_progress(path: Variant, progress: Variant)
resource_loading_done
signal resource_loading_done(path: Variant)
resource_queue_progress
signal resource_queue_progress(queue_size: Variant)
Methods
queue_resource
func queue_resource(path: String, p_in_front: bool, p_permanent: bool) -> void
cancel_resource
func cancel_resource(path: Variant) -> void
clear
func clear() -> void
get_progress
func get_progress(path: Variant) -> Variant
is_ready
func is_ready(path: Variant) -> Variant
get_resource
func get_resource(path: Variant) -> Variant
print_progress
func print_progress(p_path: Variant, p_progress: Variant) -> void
res_loaded
func res_loaded(p_path: Variant) -> void
print_queue_progress
func print_queue_progress(p_queue_size: Variant) -> void