OGRE
2.2.4
Object-Oriented Graphics Rendering Engine
|
Specialisation of VertexDeclaration for D3D9. More...
#include <OgreD3D9VertexDeclaration.h>
Public Member Functions | |
D3D9VertexDeclaration () | |
~D3D9VertexDeclaration () | |
const VertexElement & | addElement (unsigned short source, size_t offset, VertexElementType theType, VertexElementSemantic semantic, unsigned short index=0) |
See VertexDeclaration. More... | |
IDirect3DVertexDeclaration9 * | getD3DVertexDeclaration (VertexDeclaration *globalDeclaration, bool useGlobalInstancingVertexBufferIsAvailable) |
Gets the D3D9-specific vertex declaration. More... | |
const VertexElement & | insertElement (unsigned short atPosition, unsigned short source, size_t offset, VertexElementType theType, VertexElementSemantic semantic, unsigned short index=0) |
See VertexDeclaration. More... | |
void | modifyElement (unsigned short elem_index, unsigned short source, size_t offset, VertexElementType theType, VertexElementSemantic semantic, unsigned short index=0) |
See VertexDeclaration. More... | |
virtual void | notifyOnDeviceCreate (IDirect3DDevice9 *d3d9Device) |
virtual void | notifyOnDeviceDestroy (IDirect3DDevice9 *d3d9Device) |
virtual void | notifyOnDeviceLost (IDirect3DDevice9 *d3d9Device) |
virtual void | notifyOnDeviceReset (IDirect3DDevice9 *d3d9Device) |
void | removeAllElements (void) |
See VertexDeclaration. More... | |
void | removeElement (unsigned short elem_index) |
See VertexDeclaration. More... | |
void | removeElement (VertexElementSemantic semantic, unsigned short index=0) |
See VertexDeclaration. More... | |
Static Public Member Functions | |
static void | lockDeviceAccess () |
static void | unlockDeviceAccess () |
Specialisation of VertexDeclaration for D3D9.
Ogre::D3D9VertexDeclaration::D3D9VertexDeclaration | ( | ) |
Ogre::D3D9VertexDeclaration::~D3D9VertexDeclaration | ( | ) |
const VertexElement& Ogre::D3D9VertexDeclaration::addElement | ( | unsigned short | source, |
size_t | offset, | ||
VertexElementType | theType, | ||
VertexElementSemantic | semantic, | ||
unsigned short | index = 0 |
||
) |
See VertexDeclaration.
IDirect3DVertexDeclaration9* Ogre::D3D9VertexDeclaration::getD3DVertexDeclaration | ( | VertexDeclaration * | globalDeclaration, |
bool | useGlobalInstancingVertexBufferIsAvailable | ||
) |
Gets the D3D9-specific vertex declaration.
const VertexElement& Ogre::D3D9VertexDeclaration::insertElement | ( | unsigned short | atPosition, |
unsigned short | source, | ||
size_t | offset, | ||
VertexElementType | theType, | ||
VertexElementSemantic | semantic, | ||
unsigned short | index = 0 |
||
) |
See VertexDeclaration.
|
staticinherited |
void Ogre::D3D9VertexDeclaration::modifyElement | ( | unsigned short | elem_index, |
unsigned short | source, | ||
size_t | offset, | ||
VertexElementType | theType, | ||
VertexElementSemantic | semantic, | ||
unsigned short | index = 0 |
||
) |
See VertexDeclaration.
|
virtual |
Reimplemented from Ogre::D3D9Resource.
|
virtual |
Reimplemented from Ogre::D3D9Resource.
|
inlinevirtualinherited |
Reimplemented in Ogre::D3D9Texture, Ogre::D3D9HardwareOcclusionQuery, Ogre::D3D9HardwareIndexBuffer, and Ogre::D3D9HardwareVertexBuffer.
|
inlinevirtualinherited |
Reimplemented in Ogre::D3D9Texture, Ogre::D3D9HardwareOcclusionQuery, Ogre::D3D9HardwareIndexBuffer, and Ogre::D3D9HardwareVertexBuffer.
References OGRE_STATIC_MUTEX.
void Ogre::D3D9VertexDeclaration::removeAllElements | ( | void | ) |
See VertexDeclaration.
void Ogre::D3D9VertexDeclaration::removeElement | ( | unsigned short | elem_index | ) |
See VertexDeclaration.
void Ogre::D3D9VertexDeclaration::removeElement | ( | VertexElementSemantic | semantic, |
unsigned short | index = 0 |
||
) |
See VertexDeclaration.
|
staticinherited |