OGRE-Next  2.3
Object-Oriented Graphics Rendering Engine
Ogre::v1::GLES2HardwareVertexBuffer Class Reference

Specialisation of HardwareVertexBuffer for OpenGL ES. More...

#include <OgreGLES2HardwareVertexBuffer.h>

+ Inheritance diagram for Ogre::v1::GLES2HardwareVertexBuffer:

Public Member Functions

 GLES2HardwareVertexBuffer (HardwareBufferManagerBase *mgr, size_t vertexSize, size_t numVertices, HardwareBuffer::Usage usage, bool useShadowBuffer)
virtual ~GLES2HardwareVertexBuffer ()
void _updateFromShadow ()
 See HardwareBuffer. More...
void copyData (HardwareBuffer &srcBuffer, size_t srcOffset, size_t dstOffset, size_t length, bool discardWholeBuffer=false)
 See HardwareBuffer. More...
GLuint getGLBufferId () const
void readData (size_t offset, size_t length, void *pDest)
 See HardwareBuffer. More...
void writeData (size_t offset, size_t length, const void *pSource, bool discardWholeBuffer=false)
 See HardwareBuffer. More...

Detailed Description

Specialisation of HardwareVertexBuffer for OpenGL ES.

Constructor & Destructor Documentation

◆ GLES2HardwareVertexBuffer()

Ogre::v1::GLES2HardwareVertexBuffer::GLES2HardwareVertexBuffer ( HardwareBufferManagerBase mgr,
size_t  vertexSize,
size_t  numVertices,
HardwareBuffer::Usage  usage,
bool  useShadowBuffer 

◆ ~GLES2HardwareVertexBuffer()

virtual Ogre::v1::GLES2HardwareVertexBuffer::~GLES2HardwareVertexBuffer ( )

Member Function Documentation

◆ _updateFromShadow()

void Ogre::v1::GLES2HardwareVertexBuffer::_updateFromShadow ( )

◆ copyData()

void Ogre::v1::GLES2HardwareVertexBuffer::copyData ( HardwareBuffer srcBuffer,
size_t  srcOffset,
size_t  dstOffset,
size_t  length,
bool  discardWholeBuffer = false 

◆ getGLBufferId()

GLuint Ogre::v1::GLES2HardwareVertexBuffer::getGLBufferId ( ) const

◆ readData()

void Ogre::v1::GLES2HardwareVertexBuffer::readData ( size_t  offset,
size_t  length,
void *  pDest 

◆ writeData()

void Ogre::v1::GLES2HardwareVertexBuffer::writeData ( size_t  offset,
size_t  length,
const void *  pSource,
bool  discardWholeBuffer = false 

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