Falcon
|
#include <VertexArray.h>
Public Member Functions | |
VertexArray () | |
~VertexArray () | |
void | Bind () const |
void | Unbind () const |
void | AddVertexAttribPointer (u32 loc, u32 size, u32 type, u32 normalize, u32 byteSize, u32 offset, u64 divisor) |
Class to initialize and store vertex array object its bound vertexbuffer and its attributes using OpenGL commands..
VertexArray::VertexArray | ( | ) |
Main Constructor for the Vertex Array Object Class.
VertexArray::~VertexArray | ( | ) |
Main Destructor for the Vertex Array Object Class.
void VertexArray::AddVertexAttribPointer | ( | u32 | loc, |
u32 | size, | ||
u32 | type, | ||
u32 | normalize, | ||
u32 | byteSize, | ||
u32 | offset, | ||
u64 | divisor | ||
) |
void VertexArray::Bind | ( | ) | const |
Binds this Vertex array Object.
void VertexArray::Unbind | ( | ) | const |
Unbinds this Vertex Array Object.