com.threerings.opengl.util
Class ResourceCache
java.lang.Object
com.threerings.opengl.util.ResourceCache
- Direct Known Subclasses:
- ImageCache, ShaderCache
public abstract class ResourceCache
- extends Object
Base class for the resource caches.
ResourceCache
public ResourceCache(GlContext ctx,
boolean checkTimestamps)
- Creates a new resource cache.
- Parameters:
checkTimestamps - if true, check the last-modified timestamp of each resource file
when we retrieve it from the cache, reloading the resource if the file has been modified
externally.
Copyright © 2011. All Rights Reserved.