A cache of OpenGL vertex array objects (VAOs), keyed by VertexBinding. More...
#include <VAOCache.h>
Public Member Functions | |
bool | TryGetVAOForVertexBinding (const VertexLayouts::VertexBinding *pVertexBinding, GLuint *out_foundVAO) const |
GLuint | CreateVAOForVertexBinding (const VertexLayouts::VertexBinding *pVertexBinding) |
int | GetNumOfVAOs () const |
Additional Inherited Members | |
Protected Member Functions inherited from Eegeo::NonCopyable | |
NonCopyable (const NonCopyable &)=delete | |
NonCopyable & | operator= (const NonCopyable &)=delete |
A cache of OpenGL vertex array objects (VAOs), keyed by VertexBinding.
Typically each Mesh contains a single VAOCache. This cache contains a seperate vertex array object (VAO) for each vertex binding that the mesh has been used with.