org.xith3d.scenegraph
Class GLSLVertexShader

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

public class GLSLVertexShader
extends GLSLShader

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
GLSLVertexShader()
           
GLSLVertexShader(java.lang.String source)
           
 
Method Summary
 int getNthVertexAttributeIndex(int n)
           
 java.lang.String getVertexAttributeMapping(int index)
           
 int getVertexAttributesCount()
           
 void setVertexAttributeMapping(int index, java.lang.String name)
           
 
Methods inherited from class org.xith3d.scenegraph.GLSLShader
compareTo, equals, hasCompilationError, setCompilationError
 
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

GLSLVertexShader

public GLSLVertexShader(java.lang.String source)

GLSLVertexShader

public GLSLVertexShader()
Method Detail

setVertexAttributeMapping

public void setVertexAttributeMapping(int index,
                                      java.lang.String name)

getVertexAttributesCount

public int getVertexAttributesCount()

getNthVertexAttributeIndex

public int getNthVertexAttributeIndex(int n)

getVertexAttributeMapping

public java.lang.String getVertexAttributeMapping(int index)