|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.javagl.simplerenderer.DefaultSimpleObjectGL
public class DefaultSimpleObjectGL
Default implementation of a SimpleObjectGL
Constructor Summary | |
---|---|
DefaultSimpleObjectGL(int vao,
int indicesVBO,
int verticesVBO0,
int verticesVBO1,
int normalsVBO,
int colorsVBO)
Creates a new simple object representation for OpenGL |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultSimpleObjectGL(int vao, int indicesVBO, int verticesVBO0, int verticesVBO1, int normalsVBO, int colorsVBO)
vao
- The VAOindicesVBO
- The indices VBO identifierverticesVBO0
- The first vertices VBO identifierverticesVBO1
- The second vertices VBO identifiernormalsVBO
- The normals VBO identifiercolorsVBO
- The colors VBO identifierMethod Detail |
---|
public int getVAO()
SimpleObjectGL
getVAO
in interface SimpleObjectGL
public int getIndicesVBO()
SimpleObjectGL
getIndicesVBO
in interface SimpleObjectGL
public int getVerticesVBO0()
SimpleObjectGL
getVerticesVBO0
in interface SimpleObjectGL
public int getVerticesVBO1()
SimpleObjectGL
getVerticesVBO1
in interface SimpleObjectGL
public int getNormalsVBO()
SimpleObjectGL
getNormalsVBO
in interface SimpleObjectGL
public int getColorsVBO()
SimpleObjectGL
getColorsVBO
in interface SimpleObjectGL
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |