Maria GDK 5.0.0.1005
Documentation of native code in develop branch
Loading...
Searching...
No Matches
STK::IndexPool Class Reference

Public Member Functions

 IndexPool (size_t initialCapacityBytes=2 *1024 *1024, size_t minBlockBytes=256, GLenum usage=GL_DYNAMIC_DRAW)
 
 IndexPool (const IndexPool &)=delete
 
IndexPooloperator= (const IndexPool &)=delete
 
IndexAllocation allocate (size_t indexCount)
 
void free (const IndexAllocation &a)
 
void uploadIndices (const IndexAllocation &a, const uint32_t *data)
 
GLuint ibo () const
 
size_t capacityBytes () const
 

The documentation for this class was generated from the following files: