Whether caching is enabled. Default is false.
An object that holds cached files.
Adds a cache entry with a key to reference the file. If this key already holds a file, it is overwritten.
The key to reference the cached file by.
The file to be cached.
Remove all values from the cache.
Get the value of key. If the key does not exist undefined is returned.
A string key
Remove the cached file associated with the key.
A string key that references a cached file.
Generated using TypeDoc
A simple caching system, used internally by FileLoader.
Examples
WebGL / geometry / text | WebGL / interactive / instances / gpu | WebGL / loader / ttf
To enable caching across all loaders that use FileLoader THREE.Cache.enabled = true.