![]() |
Maria GDK 5.0.0.1005
Documentation of native code in develop branch
|
Public Member Functions | |
| VertexPool (bool uv, bool normals, size_t initialCapacityBytes, size_t minBlockBytes, GLenum usage=GL_DYNAMIC_DRAW) | |
| VertexPool (const VertexPool &)=delete | |
| VertexPool & | operator= (const VertexPool &)=delete |
| VertexAllocation | allocate (size_t vertexCount) |
| Allocate space for vertexCount vertices. | |
| void | free (const VertexAllocation &a) |
| Free a previous allocation. | |
| void | uploadPositions (const VertexAllocation &a, const float *data2f) |
| void | uploadNormals (const VertexAllocation &a, const float *data2f) |
| void | uploadTexCoords (const VertexAllocation &a, const float *data2f) |
| GLuint | initializeNewVAO () |
| GLuint | vao () const |
| GLuint | vboPos () const |
| GLuint | vboNormal () const |
| GLuint | vboUv () const |
| int | normalAttribIndex () const |
| int | uvAttribIndex () const |
| size_t | capacityBytes () const |