com.threerings.opengl.renderer
Class TextureRenderer.InstanceKey

java.lang.Object
  extended by com.threerings.opengl.renderer.TextureRenderer.InstanceKey
Enclosing class:
TextureRenderer

protected static class TextureRenderer.InstanceKey
extends Object

Identifies a shared texture renderer instance.


Field Summary
protected  WeakReference<Texture> _color
          The color and depth textures.
protected  WeakReference<Texture> _depth
          The color and depth textures.
 
Constructor Summary
TextureRenderer.InstanceKey(Texture color, Texture depth)
           
 
Method Summary
 boolean equals(Object other)
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_color

protected WeakReference<Texture> _color
The color and depth textures.


_depth

protected WeakReference<Texture> _depth
The color and depth textures.

Constructor Detail

TextureRenderer.InstanceKey

public TextureRenderer.InstanceKey(Texture color,
                                   Texture depth)
Method Detail

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object other)
Overrides:
equals in class Object