de.matthiasmann.twl.renderer.lwjgl
Class LWJGLCacheContext

java.lang.Object
  extended by de.matthiasmann.twl.renderer.lwjgl.LWJGLCacheContext
All Implemented Interfaces:
CacheContext, Resource

public class LWJGLCacheContext
extends java.lang.Object
implements CacheContext


Constructor Summary
protected LWJGLCacheContext(LWJGLRenderer renderer)
           
 
Method Summary
 void destroy()
          After destroying a resurce it is no longer useable.
 boolean isValid()
          A cache context is valid until it's destroyed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LWJGLCacheContext

protected LWJGLCacheContext(LWJGLRenderer renderer)
Method Detail

isValid

public boolean isValid()
Description copied from interface: CacheContext
A cache context is valid until it's destroyed.

Specified by:
isValid in interface CacheContext
Returns:
true if it is valid

destroy

public void destroy()
Description copied from interface: Resource
After destroying a resurce it is no longer useable.

Specified by:
destroy in interface Resource