[name]
A simple caching classe.
Constructor
[name]()
Creates a new [name].
Properties
.[page:Object files]
An [page:Object object] that hold cached values.
Methods
.add( [page:String key], value )
key — required. A string key
value —
Adds a cache entry with that key to hold the value. If this key already holds a value, it is overwritten.
.get( [page:String key] )
key — required. A string key
Get the value of key. If the key does not exist the null value is returned.
.remove( [page:String key] )
key — required. A string key
Remove the cached value associated with the key.
.clear()
Remove all values from the cache.
Source
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]