de.javagl.simplerenderer
Interface SimpleObjectGL

All Known Implementing Classes:
DefaultSimpleObjectGL

public interface SimpleObjectGL

The OpenGL representation of a SimpleObject


Method Summary
 int getColorsVBO()
          Returns the vertex buffer object identifier for the colors
 int getIndicesVBO()
          Returns the vertex buffer object identifier for the indices.
 int getNormalsVBO()
          Returns the vertex buffer object identifier for the normals
 int getVAO()
          Returns the vertex array object identifier
 int getVerticesVBO0()
          Returns the vertex buffer object identifier for the vertices.
 int getVerticesVBO1()
          Returns the vertex buffer object identifier for the vertices.
 

Method Detail

getVAO

int getVAO()
Returns the vertex array object identifier

Returns:
The VAO identifier

getIndicesVBO

int getIndicesVBO()
Returns the vertex buffer object identifier for the indices.

Returns:
The VBO identifier

getVerticesVBO0

int getVerticesVBO0()
Returns the vertex buffer object identifier for the vertices. For double buffering, the vertices are stored twice.

Returns:
The VBO identifier

getVerticesVBO1

int getVerticesVBO1()
Returns the vertex buffer object identifier for the vertices. For double buffering, the vertices are stored twice.

Returns:
The VBO identifier

getNormalsVBO

int getNormalsVBO()
Returns the vertex buffer object identifier for the normals

Returns:
The VBO identifier

getColorsVBO

int getColorsVBO()
Returns the vertex buffer object identifier for the colors

Returns:
The VBO identifier