#include <vertexbuffer.hpp>
|
| static std::array< Vertex, 4 > | CreateQuad (float x, float y, float w, float h, int layer, float texID) |
| |
| static std::array< Vertex, 4 > | CreateQuad (float x, float y, float w, float h, float tx, float ty, float tw, float th, float ttw, float tth, int layer, float texID) |
| |
Definition at line 6 of file vertexbuffer.hpp.
◆ VertexBuffer() [1/2]
| VertexBuffer::VertexBuffer |
( |
unsigned int | num_vertices, |
|
|
unsigned int | vertex_size, |
|
|
GLenum | usage ) |
◆ VertexBuffer() [2/2]
| VertexBuffer::VertexBuffer |
( |
| ) |
|
|
default |
◆ ~VertexBuffer()
| VertexBuffer::~VertexBuffer |
( |
| ) |
|
◆ Bind()
| void VertexBuffer::Bind |
( |
| ) |
const |
◆ CreateQuad() [1/2]
| std::array< Vertex, 4 > VertexBuffer::CreateQuad |
( |
float | x, |
|
|
float | y, |
|
|
float | w, |
|
|
float | h, |
|
|
float | tx, |
|
|
float | ty, |
|
|
float | tw, |
|
|
float | th, |
|
|
float | ttw, |
|
|
float | tth, |
|
|
int | layer, |
|
|
float | texID ) |
|
static |
◆ CreateQuad() [2/2]
| std::array< Vertex, 4 > VertexBuffer::CreateQuad |
( |
float | x, |
|
|
float | y, |
|
|
float | w, |
|
|
float | h, |
|
|
int | layer, |
|
|
float | texID ) |
|
static |
◆ SetData()
| void VertexBuffer::SetData |
( |
unsigned int | vertex_index, |
|
|
float * | data, |
|
|
unsigned int | num_vertices, |
|
|
unsigned int | VertexSize ) |
◆ Unbind()
| void VertexBuffer::Unbind |
( |
| ) |
const |
The documentation for this class was generated from the following files: