#include <IndexBuffer.h>
Definition at line 2 of file IndexBuffer.h.
◆ IndexBuffer()
| IndexBuffer::IndexBuffer |
( |
const unsigned int * | data, |
|
|
unsigned int | count ) |
Definition at line 4 of file IndexBuffer.cpp.
4 :
6{
7 ASSERT(
sizeof(
unsigned int) ==
sizeof(GLuint));
8
11 GLCall(glBufferData(GL_ELEMENT_ARRAY_BUFFER, count *
sizeof(
unsigned int), data, GL_STATIC_DRAW));
12}
unsigned int m_RendererID
◆ ~IndexBuffer()
| IndexBuffer::~IndexBuffer |
( |
| ) |
|
◆ Bind()
| void IndexBuffer::Bind |
( |
| ) |
const |
◆ GetCount()
| unsigned int IndexBuffer::GetCount |
( |
| ) |
const |
|
inline |
◆ Unbind()
| void IndexBuffer::Unbind |
( |
| ) |
const |
◆ m_Count
| unsigned int IndexBuffer::m_Count |
|
private |
◆ m_RendererID
| unsigned int IndexBuffer::m_RendererID |
|
private |
The documentation for this class was generated from the following files: