30 inline GLuint
getCount()
const {
return m_Count; }
32 inline GLuint
getBuffer()
const {
return m_BufferID; }
void bind() const
Bind the index buffer.
Definition: indexbuffer.cpp:21
Creates Index Buffers.
Definition: indexbuffer.h:11
GLuint getBuffer() const
Gets the index buffer gl instance.
Definition: indexbuffer.h:32
Definition: audioclip.cpp:3
IndexBuffer(GLushort *data, GLsizei count)
Generate Index buffer.
Definition: indexbuffer.cpp:6
GLuint getCount() const
Gets the indices count.
Definition: indexbuffer.h:30
~IndexBuffer()
Definition: indexbuffer.cpp:16
void unbind() const
Unbind the index buffer.
Definition: indexbuffer.cpp:26