org.xith3d.scenegraph
Class GLSLShader

java.lang.Object
  extended by org.xith3d.scenegraph.Shader
      extended by org.xith3d.scenegraph.GLSLShader
All Implemented Interfaces:
java.lang.Comparable<Shader>, org.jagatoo.datatypes.Enableable
Direct Known Subclasses:
GLSLFragmentShader, GLSLVertexShader

public abstract class GLSLShader
extends Shader

Created on Jul 7, 2006 by florian for project 'xith3d_glsl_shader_support'


Nested Class Summary
 
Nested classes/interfaces inherited from class org.xith3d.scenegraph.Shader
Shader.ShaderType
 
Constructor Summary
protected GLSLShader(Shader.ShaderType type)
           
protected GLSLShader(Shader.ShaderType type, java.lang.String shaderCode)
           
 
Method Summary
 int compareTo(Shader o)
          
 boolean equals(java.lang.Object o)
          
 boolean hasCompilationError()
           
 void setCompilationError(boolean compilationError)
           
 
Methods inherited from class org.xith3d.scenegraph.Shader
finalize, freeOpenGLResources, getOpenGLReferences, getShaderCode, getType, isEnabled, setEnabled, setShaderCode
 
Methods inherited from class java.lang.Object
clone, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GLSLShader

protected GLSLShader(Shader.ShaderType type,
                     java.lang.String shaderCode)

GLSLShader

protected GLSLShader(Shader.ShaderType type)
Method Detail

setCompilationError

public void setCompilationError(boolean compilationError)

hasCompilationError

public boolean hasCompilationError()

equals

public boolean equals(java.lang.Object o)

Specified by:
equals in class Shader

compareTo

public int compareTo(Shader o)

Specified by:
compareTo in interface java.lang.Comparable<Shader>
Specified by:
compareTo in class Shader