All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | List of all members
Eegeo::Rendering::VAOCache Class Reference

A cache of OpenGL vertex array objects (VAOs), keyed by VertexBinding. More...

#include <VAOCache.h>

Inheritance diagram for Eegeo::Rendering::VAOCache:
Eegeo::NonCopyable

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
 
NonCopyableoperator= (const NonCopyable &)=delete
 

Detailed Description

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.


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