Represents an index buffer object. More...
#include <Vertex.h>
Inherits ReferenceCountedData< IndexBufferData >.
Public Member Functions | |
| bool | Create () | 
| Creates an empty index buffer.  | |
| void | Free () | 
| Frees the current index buffer object.  | |
| operator GLuint () const | |
| Retrieves the current index buffer object that can be passed to OpenGL calls.  | |
| bool | Load (uint16 *bytes, nuint indexCount, GLenum usage=GL_STATIC_DRAW) | 
| Creates a new empty index buffer and loads it with 16-bit data index data.  | |
| void | BindAndSetState () | 
| Binds the index buffer.  | |
| void | Unbind () | 
| Unbinds the index buffer.  | |
Represents an index buffer object.
 1.7.1