Public Member Functions | Protected Member Functions | Private Attributes
Ogre::GLESHardwareIndexBuffer Class Reference

#include <OgreGLESHardwareIndexBuffer.h>

List of all members.

Public Member Functions

 GLESHardwareIndexBuffer (HardwareBufferManagerBase *mgr, IndexType idxType, size_t numIndexes, HardwareBuffer::Usage usage, bool useShadowBuffer)
virtual ~GLESHardwareIndexBuffer ()
void _updateFromShadow (void)
 See HardwareBuffer.
GLuint getGLBufferId (void) const
void readData (size_t offset, size_t length, void *pDest)
 See HardwareBuffer.
void writeData (size_t offset, size_t length, const void *pSource, bool discardWholeBuffer=false)
 See HardwareBuffer.

Protected Member Functions

void createBuffer ()
void destroyBuffer ()
void * lockImpl (size_t offset, size_t length, LockOptions options)
 See HardwareBuffer.
virtual void notifyOnContextLost ()
 See AndroidResource.
virtual void notifyOnContextReset ()
 See AndroidResource.
void unlockImpl (void)
 See HardwareBuffer.

Private Attributes

GLuint mBufferId
bool mLockedToScratch
size_t mScratchOffset
void * mScratchPtr
size_t mScratchSize
bool mScratchUploadOnUnlock

Detailed Description

Definition at line 38 of file OgreGLESHardwareIndexBuffer.h.


Constructor & Destructor Documentation

Ogre::GLESHardwareIndexBuffer::GLESHardwareIndexBuffer ( HardwareBufferManagerBase mgr,
IndexType  idxType,
size_t  numIndexes,
HardwareBuffer::Usage  usage,
bool  useShadowBuffer 
)

Member Function Documentation

Definition at line 80 of file OgreGLESHardwareIndexBuffer.h.

void* Ogre::GLESHardwareIndexBuffer::lockImpl ( size_t  offset,
size_t  length,
LockOptions  options 
) [protected]
virtual void Ogre::GLESHardwareIndexBuffer::notifyOnContextLost ( ) [protected, virtual]
virtual void Ogre::GLESHardwareIndexBuffer::notifyOnContextReset ( ) [protected, virtual]
void Ogre::GLESHardwareIndexBuffer::readData ( size_t  offset,
size_t  length,
void *  pDest 
)
void Ogre::GLESHardwareIndexBuffer::unlockImpl ( void  ) [protected]
void Ogre::GLESHardwareIndexBuffer::writeData ( size_t  offset,
size_t  length,
const void *  pSource,
bool  discardWholeBuffer = false 
)

Member Data Documentation

Definition at line 41 of file OgreGLESHardwareIndexBuffer.h.

Definition at line 43 of file OgreGLESHardwareIndexBuffer.h.

Definition at line 44 of file OgreGLESHardwareIndexBuffer.h.

Definition at line 46 of file OgreGLESHardwareIndexBuffer.h.

Definition at line 45 of file OgreGLESHardwareIndexBuffer.h.

Definition at line 47 of file OgreGLESHardwareIndexBuffer.h.


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

Copyright © 2012 Torus Knot Software Ltd
Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Mon Jul 27 2020 13:41:08