Go to the documentation of this file.
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 counter buffers.
GLES2HardwareBufferManager()
~GLES2HardwareBufferManager()
static GLenum getGLType(unsigned int type)
Utility function to get the correct GL type based on VET's.
Base definition of a hardware buffer manager.
Shared pointer implementation used to share index buffers.
GLES2StateCacheManager * mStateCacheManager
Implementation of HardwareBufferManager for OpenGL ES.
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.
static GLenum getGLUsage(unsigned int usage)
Utility function to get the correct GL usage based on HBU's.
Singleton wrapper for hardware buffer manager.
GLES2StateCacheManager * getStateCacheManager()
static GLenum getGLType(unsigned int type)
Utility function to get the correct GL type based on VET's.
Reference-counted shared pointer, used for objects where implicit destruction is required.
GLES2HardwareBufferManagerBase as a Singleton.
static GLenum getGLUsage(unsigned int usage)
Utility function to get the correct GL usage based on HBU's.
@ HBU_DYNAMIC_WRITE_ONLY_DISCARDABLE
Combination of HBU_DYNAMIC, HBU_WRITE_ONLY and HBU_DISCARDABLE.
Usage
Enums describing buffer usage; not mutually exclusive.
An in memory cache of the OpenGL ES state.
Copyright © 2012 Torus Knot Software Ltd

This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Tue Apr 13 2021 08:53:15