org.xith3d.scenegraph
Class AssemblyShader
java.lang.Object
org.xith3d.scenegraph.Shader
org.xith3d.scenegraph.AssemblyShader
- All Implemented Interfaces:
- java.lang.Comparable<Shader>, org.jagatoo.datatypes.Enableable
- Direct Known Subclasses:
- AssemblyFragmentShader, AssemblyVertexShader
public abstract class AssemblyShader
- extends Shader
| Methods inherited from class java.lang.Object |
clone, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
shaderProgramParameters
protected org.openmali.vecmath2.Vector4f[] shaderProgramParameters
AssemblyShader
public AssemblyShader(Shader.ShaderType type,
java.lang.String shaderCode,
org.openmali.vecmath2.Vector4f[] parameters,
boolean enabled)
AssemblyShader
public AssemblyShader(Shader.ShaderType type,
java.lang.String shaderCode,
org.openmali.vecmath2.Vector4f[] parameters)
AssemblyShader
public AssemblyShader(Shader.ShaderType type,
java.lang.String shaderCode)
AssemblyShader
public AssemblyShader(Shader.ShaderType type)
setParameters
public final void setParameters(org.openmali.vecmath2.Vector4f[] parameters)
setParameter
public final void setParameter(int index,
org.openmali.vecmath2.Vector4f parameter)
getParameters
public final org.openmali.vecmath2.Vector4f[] getParameters()
getParameter
public final org.openmali.vecmath2.Vector4f getParameter(int index)
getNumParameters
public final int getNumParameters()
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