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

#include <OgreGLES2HardwareIndexBuffer.h>

+ Inheritance diagram for Ogre::v1::GLES2HardwareIndexBuffer:

Public Member Functions

 GLES2HardwareIndexBuffer (HardwareBufferManagerBase *mgr, IndexType idxType, size_t numIndexes, HardwareBuffer::Usage usage, bool useShadowBuffer)
virtual ~GLES2HardwareIndexBuffer ()
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...

Constructor & Destructor Documentation

◆ GLES2HardwareIndexBuffer()

Ogre::v1::GLES2HardwareIndexBuffer::GLES2HardwareIndexBuffer ( HardwareBufferManagerBase mgr,
IndexType  idxType,
size_t  numIndexes,
HardwareBuffer::Usage  usage,
bool  useShadowBuffer 

◆ ~GLES2HardwareIndexBuffer()

virtual Ogre::v1::GLES2HardwareIndexBuffer::~GLES2HardwareIndexBuffer ( )

Member Function Documentation

◆ _updateFromShadow()

void Ogre::v1::GLES2HardwareIndexBuffer::_updateFromShadow ( )

◆ copyData()

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

◆ getGLBufferId()

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

◆ readData()

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

◆ writeData()

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

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