0.44.0
|
#include <iIndexBuffer.h>
Public Member Functions | |
void | bind () |
uint32 | getIndexCount () const |
void | setData (uint32 size, const void *indexData) |
bool | isDynamic () const |
Static Public Member Functions | |
static iIndexBufferPtr | create (uint32 count, const uint32 *indices=nullptr) |
Friends | |
class | iIndexBufferDeleter |
class | iVertexArray |
index buffer aka index buffer object
void igor::iIndexBuffer::bind | ( | ) |
bin this buffer
|
static |
cound | index count |
indices | the index data |
uint32 igor::iIndexBuffer::getIndexCount | ( | ) | const |
bool igor::iIndexBuffer::isDynamic | ( | ) | const |
void igor::iIndexBuffer::setData | ( | uint32 | size, |
const void * | indexData | ||
) |
sets data on buffer
Ideally only use this if the buffer is dynamic but generally it should always be safe to use
size | the size in bytes |
indexData | the index data to set |
|
friend |
|
friend |