com.threerings.opengl.util
Class ResourceCache

java.lang.Object
  extended by com.threerings.opengl.util.ResourceCache
Direct Known Subclasses:
ImageCache, ShaderCache

public abstract class ResourceCache
extends Object

Base class for the resource caches.


Constructor Summary
ResourceCache(GlContext ctx, boolean checkTimestamps)
          Creates a new resource cache.
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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.