de.grogra.imp3d.glsl.utility
Class VertexBufferObject

java.lang.Object
  extended by de.grogra.imp3d.glsl.utility.VertexBufferObject
All Implemented Interfaces:
GLSLOpenGLObject
Direct Known Subclasses:
GLSLBoxVBO

public abstract class VertexBufferObject
extends java.lang.Object
implements GLSLOpenGLObject


Constructor Summary
VertexBufferObject(OpenGLState glState)
           
 
Method Summary
 void cleanup(OpenGLState glState, boolean javaOnly)
           
 void draw(OpenGLState glState)
           
 int entryPerVertex()
           
 int getVertexDrawType()
           
 int getVertexFormat()
           
abstract  float[] getVertices()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VertexBufferObject

public VertexBufferObject(OpenGLState glState)
Method Detail

cleanup

public void cleanup(OpenGLState glState,
                    boolean javaOnly)
Specified by:
cleanup in interface GLSLOpenGLObject

draw

public void draw(OpenGLState glState)

entryPerVertex

public int entryPerVertex()

getVertexDrawType

public int getVertexDrawType()

getVertexFormat

public int getVertexFormat()

getVertices

public abstract float[] getVertices()