29 #ifndef __GLES2HardwareBufferManager_H__
30 #define __GLES2HardwareBufferManager_H__
36 class GLES2StateCacheManager;
64 bool useShadowBuffer,
size_t binding,
const String& name =
"");
67 bool useShadowBuffer =
false,
const String& name =
"");
70 static GLenum getGLUsage(
unsigned int usage);
73 static GLenum getGLType(
unsigned int type);
Shared pointer implementation used to share index buffers.
GLES2StateCacheManager * mStateCacheManager
GLES2HardwareBufferManager()
GLES2HardwareBufferManagerBase as a Singleton.
Singleton wrapper for hardware buffer manager.
Shared pointer implementation used to share counter buffers.
Combination of HBU_DYNAMIC, HBU_WRITE_ONLY and HBU_DISCARDABLE.
An in memory cache of the OpenGL ES state.
This class declares the format of a set of vertex inputs, which can be issued to the rendering API th...
Shared pointer implementation used to share vertex buffers.
Base definition of a hardware buffer manager.
static GLenum getGLType(unsigned int type)
Utility function to get the correct GL type based on VET's.
GLES2StateCacheManager * getStateCacheManager()
Usage
Enums describing buffer usage; not mutually exclusive.
static GLenum getGLUsage(unsigned int usage)
Utility function to get the correct GL usage based on HBU's.
Reference-counted shared pointer, used for objects where implicit destruction is required.
static GLenum getGLUsage(unsigned int usage)
Utility function to get the correct GL usage based on HBU's.
~GLES2HardwareBufferManager()
Implementation of HardwareBufferManager for OpenGL ES.
static GLenum getGLType(unsigned int type)
Utility function to get the correct GL type based on VET's.