ESCResourceCache

Extends: Node

Description

A cache for resources

Property Descriptions

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)

res_loaded

func res_loaded(p_path)

start

func start()

Signals

  • signal resource_loading_progress(path, progress):

  • signal resource_loading_done(path):

  • signal resource_queue_progress(queue_size):