116 for (
uint32 i = 0; i < 12; ++i) {
119 for (
uint32 i = 0; i < 8; ++i) {
122 for (
uint32 i = 0; i < 16; ++i) {
123 verts[i+20] = rgba[i];
Vertex texture coordinates, VTCOORDi = VTCOORD + i.
Dedicated mesh used for dynamic font rendering.
uint32 getCount() const
Get vertex count.
void updateGLBound() const
Update an existing GL buffer object, assuming it is already bound.
std::vector< VertexAttrib > VertexDecl
Vertex data layout.
void setVertexDeclLinear(uint32 vertCount, VertexDecl &decl)
Set the linear vertex declaration for this buffer.
VertexBuffer _vertexBuffer
GLvoid * getData()
Access buffer data.
Generic vertex attribute data.
void setSize(uint32 vertCount, uint32 vertSize)
Change buffer size.