1 #ifndef COIN_VERTEXARRAYINDEXER_H
2 #define COIN_VERTEXARRAYINDEXER_H
37 #error this is a private header file
40 #include <Inventor/lists/SbList.h>
41 #include <Inventor/system/gl.h>
42 #include <Inventor/C/glue/gl.h>
70 void render(
const cc_glglue * glue,
const SbBool renderasvbo,
const uint32_t vbocontextid);
78 void addIndex(int32_t i);
79 void sort_triangles(
void);
80 void sort_lines(
void);
94 #endif // COIN_VERTEXARRAYINDEXER_H
void addQuad(const int32_t v0, const int32_t v1, const int32_t v2, const int32_t v3)
Definition: SoVertexArrayIndexer.cpp:140
const GLint * getIndices(void) const
Definition: SoVertexArrayIndexer.cpp:472
GLint * getWriteableIndices(void)
Definition: SoVertexArrayIndexer.cpp:483
int getNumIndices(void) const
Definition: SoVertexArrayIndexer.cpp:462
void addLine(const int32_t v0, const int32_t v1)
Definition: SoVertexArrayIndexer.cpp:89
void render(const cc_glglue *glue, const SbBool renderasvbo, const uint32_t vbocontextid)
Definition: SoVertexArrayIndexer.cpp:247
The SoVertexArrayIndexer class is used to simplify index handling for vertex array rendering...
Definition: SoVertexArrayIndexer.h:47
~SoVertexArrayIndexer()
Definition: SoVertexArrayIndexer.cpp:72
void beginTarget(GLenum target)
Definition: SoVertexArrayIndexer.cpp:166
void targetVertex(GLenum target, const int32_t v)
Definition: SoVertexArrayIndexer.cpp:184
int getNumVertices(void)
Definition: SoVertexArrayIndexer.cpp:317
void endTarget(GLenum target)
Definition: SoVertexArrayIndexer.cpp:203
void addTriangle(const int32_t v0, const int32_t v1, const int32_t v2)
Definition: SoVertexArrayIndexer.cpp:121
void addPoint(const int32_t v0)
Definition: SoVertexArrayIndexer.cpp:106
The SoVBO class is used to handle OpenGL vertex buffer objects.
Definition: SoVBO.h:47
SoVertexArrayIndexer(void)
Definition: SoVertexArrayIndexer.cpp:61
void close(void)
Definition: SoVertexArrayIndexer.cpp:220