com.threerings.opengl.util
Class ShaderCache.ShaderKey

java.lang.Object
  extended by com.threerings.opengl.util.ShaderCache.ShaderKey
Enclosing class:
ShaderCache

protected static class ShaderCache.ShaderKey
extends Object

Identifies a loaded shader.


Field Summary
 String[] ddefs
          The definitions and derived definitions.
 String[] defs
          The definitions and derived definitions.
 String path
          The path of the shader.
 
Constructor Summary
ShaderCache.ShaderKey(String path, String[] defs, String[] ddefs)
           
 
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

path

public String path
The path of the shader.


defs

public String[] defs
The definitions and derived definitions.


ddefs

public String[] ddefs
The definitions and derived definitions.

Constructor Detail

ShaderCache.ShaderKey

public ShaderCache.ShaderKey(String path,
                             String[] defs,
                             String[] ddefs)
Method Detail

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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