Creates Index Buffers.
More...
#include <indexbuffer.h>
◆ IndexBuffer()
| fireworks::graphics::IndexBuffer::IndexBuffer |
( |
GLushort * |
data, |
|
|
GLsizei |
count |
|
) |
| |
Generate Index buffer.
- Parameters
-
| data | The index data |
| count | Indices count in the index data |
◆ ~IndexBuffer()
| fireworks::graphics::IndexBuffer::~IndexBuffer |
( |
| ) |
|
◆ bind()
| void fireworks::graphics::IndexBuffer::bind |
( |
| ) |
const |
◆ getBuffer()
| GLuint fireworks::graphics::IndexBuffer::getBuffer |
( |
| ) |
const |
|
inline |
Gets the index buffer gl instance.
◆ getCount()
| GLuint fireworks::graphics::IndexBuffer::getCount |
( |
| ) |
const |
|
inline |
◆ unbind()
| void fireworks::graphics::IndexBuffer::unbind |
( |
| ) |
const |
The documentation for this class was generated from the following files:
- /home/docs/checkouts/readthedocs.org/user_builds/fireworks-engine/checkouts/latest/Fireworks Engine/Fireworks Core/src/graphics/buffers/indexbuffer.h
- /home/docs/checkouts/readthedocs.org/user_builds/fireworks-engine/checkouts/latest/Fireworks Engine/Fireworks Core/src/graphics/buffers/indexbuffer.cpp