#include <VertexBuffer.h>
A Vertex Buffer Class to initialize and store Vertex Data into a buffer using OpenGL commands..
◆ VertexBuffer()
VertexBuffer::VertexBuffer |
( |
const void * |
databuffer, |
|
|
size_t |
size, |
|
|
u32 |
drawType |
|
) |
| |
Main Constructor for the Vertex Buffer Generates a buffer to store the provided vertex data
param[in] A Void pointer pointing to the data. param[in] A u32 type integer indicating size of data. param[in] A u32 type integer indicating drawtype.
◆ ~VertexBuffer()
VertexBuffer::~VertexBuffer |
( |
| ) |
|
Destructor for the Vertex Buffer Class
◆ Bind()
void VertexBuffer::Bind |
( |
| ) |
const |
This function the Vertex BUffer held by its instance to the Array buffer
◆ BufferData()
void VertexBuffer::BufferData |
( |
const void * |
data, |
|
|
size_t |
size, |
|
|
u32 |
drawType |
|
) |
| |
◆ BufferSubData()
void VertexBuffer::BufferSubData |
( |
const void * |
data, |
|
|
uint32_t |
offset, |
|
|
size_t |
size |
|
) |
| |
◆ Unbind()
void VertexBuffer::Unbind |
( |
| ) |
const |
This function unbinds the array buffer.
The documentation for this class was generated from the following files:
- D:/RIT/FALCON_ENGINE/Falcon/Falcon/Rendering/BufferDefinitions/VertexBuffer.h
- D:/RIT/FALCON_ENGINE/Falcon/Falcon/Rendering/BufferDefinitions/VertexBuffer.cpp