|const GLvoid * ||indices () const |
| ||Get a raw pointer to index data for OpenGL. More...|
|uint ||maxIndex () const |
| ||Get the greatest index value. More...|
|virtual ||~StelIndexBuffer ()|
| ||Virtual destructor. More...|
|void ||addIndex (const uint index)|
| ||Add a new index to the end of the buffer. More...|
|uint ||getIndex (const int which) const |
| ||Return index at specified position in the buffer. More...|
|void ||setIndex (const int which, const uint index)|
| ||Set specified index in the buffer. More...|
|void ||clear ()|
| ||Clear the buffer, removing all indices. More...|
|void ||lock ()|
| ||Lock the buffer. Must be called before drawing. More...|
|void ||unlock ()|
| ||Unlock the buffer. Must be called to modify the buffer after drawing. More...|
|bool ||locked () const |
| ||Is this buffer locked? More...|
|IndexType ||indexType () const |
| ||Get type of indices (16bit or 32bit) More...|
|int ||length () const |
| ||Returns the number of indices in the buffer. More...|
Qt-OpenGL index buffer implementation.
Currently, this is a straghtforward index array. In future, it should be replaced with a Qt3D implementation (based on QGLIndexBuffer), or with a direct VBO implementation (although we can still keep this implementation for GL1).
- This is an internal class of the Renderer subsystem and should not be used elsewhere.
Definition at line 37 of file StelQGLIndexBuffer.hpp.