OGRE 2.1
Object-Oriented Graphics Rendering Engine
Loading...
Searching...
No Matches
Ogre::D3D9HardwareIndexBuffer Class Reference

#include <OgreD3D9HardwareIndexBuffer.h>

+ Inheritance diagram for Ogre::D3D9HardwareIndexBuffer:

Public Member Functions

 D3D9HardwareIndexBuffer (HardwareBufferManagerBase *mgr, IndexType idxType, size_t numIndexes, HardwareBuffer::Usage usage, bool useSystemMem, bool useShadowBuffer)
 
 ~D3D9HardwareIndexBuffer ()
 
void createBuffer (IDirect3DDevice9 *d3d9Device, D3DPOOL ePool, bool updateNewBuffer)
 
IDirect3DIndexBuffer9getD3DIndexBuffer (void)
 Get the D3D-specific index buffer.
 
virtual void notifyOnDeviceCreate (IDirect3DDevice9 *d3d9Device)
 
virtual void notifyOnDeviceDestroy (IDirect3DDevice9 *d3d9Device)
 
virtual void notifyOnDeviceLost (IDirect3DDevice9 *d3d9Device)
 
virtual void notifyOnDeviceReset (IDirect3DDevice9 *d3d9Device)
 
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.
 

Static Public Member Functions

static void lockDeviceAccess ()
 
static void unlockDeviceAccess ()
 

Constructor & Destructor Documentation

◆ D3D9HardwareIndexBuffer()

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

◆ ~D3D9HardwareIndexBuffer()

Ogre::D3D9HardwareIndexBuffer::~D3D9HardwareIndexBuffer ( )

Member Function Documentation

◆ createBuffer()

void Ogre::D3D9HardwareIndexBuffer::createBuffer ( IDirect3DDevice9 d3d9Device,
D3DPOOL  ePool,
bool  updateNewBuffer 
)

◆ getD3DIndexBuffer()

IDirect3DIndexBuffer9 * Ogre::D3D9HardwareIndexBuffer::getD3DIndexBuffer ( void  )

Get the D3D-specific index buffer.

◆ lockDeviceAccess()

static void Ogre::D3D9Resource::lockDeviceAccess ( )
staticinherited

◆ notifyOnDeviceCreate()

virtual void Ogre::D3D9HardwareIndexBuffer::notifyOnDeviceCreate ( IDirect3DDevice9 d3d9Device)
virtual

Reimplemented from Ogre::D3D9Resource.

◆ notifyOnDeviceDestroy()

virtual void Ogre::D3D9HardwareIndexBuffer::notifyOnDeviceDestroy ( IDirect3DDevice9 d3d9Device)
virtual

Reimplemented from Ogre::D3D9Resource.

◆ notifyOnDeviceLost()

virtual void Ogre::D3D9HardwareIndexBuffer::notifyOnDeviceLost ( IDirect3DDevice9 d3d9Device)
virtual

Reimplemented from Ogre::D3D9Resource.

◆ notifyOnDeviceReset()

virtual void Ogre::D3D9HardwareIndexBuffer::notifyOnDeviceReset ( IDirect3DDevice9 d3d9Device)
virtual

Reimplemented from Ogre::D3D9Resource.

◆ readData()

void Ogre::D3D9HardwareIndexBuffer::readData ( size_t  offset,
size_t  length,
void pDest 
)

See HardwareBuffer.

◆ unlockDeviceAccess()

static void Ogre::D3D9Resource::unlockDeviceAccess ( )
staticinherited

◆ writeData()

void Ogre::D3D9HardwareIndexBuffer::writeData ( size_t  offset,
size_t  length,
const void pSource,
bool  discardWholeBuffer = false 
)

See HardwareBuffer.


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