#include <iMeshBuffers.h>
set of opengl buffer IDs
TODO this should use iIndexBuffer and iVertexBuffer etc
◆ ~iMeshBuffers()
igor::iMeshBuffers::~iMeshBuffers |
( |
| ) |
|
◆ getIndexBufferObject()
uint32 iMeshBuffers::getIndexBufferObject |
( |
| ) |
const |
- Returns
- index buffer object id
◆ getIndexesCount()
uint32 iMeshBuffers::getIndexesCount |
( |
| ) |
const |
◆ getTrianglesCount()
uint32 iMeshBuffers::getTrianglesCount |
( |
| ) |
const |
◆ getVertexArrayObject()
uint32 iMeshBuffers::getVertexArrayObject |
( |
| ) |
const |
- Returns
- vertex array object id
◆ getVertexBufferObject()
uint32 iMeshBuffers::getVertexBufferObject |
( |
| ) |
const |
- Returns
- vertex buffer object id
◆ getVertexCount()
uint32 iMeshBuffers::getVertexCount |
( |
| ) |
const |
◆ isReady()
bool igor::iMeshBuffers::isReady |
( |
| ) |
|
- Returns
- true if buffers are initialized
◆ setIndexBufferObject()
void igor::iMeshBuffers::setIndexBufferObject |
( |
uint32 |
ibo | ) |
|
sets index buffer object
- Parameters
-
◆ setIndexesCount()
void igor::iMeshBuffers::setIndexesCount |
( |
uint32 |
count | ) |
|
sets index count
- Parameters
-
◆ setReady()
void igor::iMeshBuffers::setReady |
( |
bool |
ready = true | ) |
|
◆ setTrianglesCount()
void igor::iMeshBuffers::setTrianglesCount |
( |
uint32 |
count | ) |
|
set triangles count
- Parameters
-
◆ setVertexArrayObject()
void igor::iMeshBuffers::setVertexArrayObject |
( |
uint32 |
vao | ) |
|
sets vertex array object
- Parameters
-
◆ setVertexBufferObject()
void igor::iMeshBuffers::setVertexBufferObject |
( |
uint32 |
vbo | ) |
|
sets vertex buffer object
- Parameters
-
◆ setVertexCount()
void igor::iMeshBuffers::setVertexCount |
( |
uint32 |
count | ) |
|
sets vertex count
- Parameters
-
◆ INVALID_BUFFER_ID
const uint32 igor::iMeshBuffers::INVALID_BUFFER_ID = 0 |
|
static |
definition of invalid buffer id
The documentation for this class was generated from the following files: