#include <OgreD3D9Mappings.h>
Public Types | |
enum | eD3DTexType { D3D_TEX_TYPE_NORMAL, D3D_TEX_TYPE_CUBE, D3D_TEX_TYPE_VOLUME, D3D_TEX_TYPE_NONE } |
enum identifying D3D9 tex. types More... | |
enum | eD3DFilterUsage { D3D_FUSAGE_MIN, D3D_FUSAGE_MAG, D3D_FUSAGE_MIP } |
enum identifying D3D9 filter usage type More... | |
Static Public Member Functions | |
DWORD | get (ShadeOptions so) |
return a D3D9 equivalent for a Ogre ShadeOptions value | |
D3DLIGHTTYPE | get (Ogre::Light::LightTypes lightType) |
return a D3D9 equivalent for a Ogre LightTypes value | |
DWORD | get (TexCoordCalcMethod m, const D3DCAPS9 &caps) |
return a D3D9 equivalent for a Ogre TexCoordCalsMethod value | |
D3DTEXTUREADDRESS | get (TextureUnitState::TextureAddressingMode tam) |
return a D3D9 equivalent for a Ogre TextureAddressingMode value | |
D3DTEXTURESTAGESTATETYPE | get (LayerBlendType lbt) |
return a D3D9 equivalent for a Ogre LayerBlendType value | |
DWORD | get (LayerBlendOperationEx lbo, const D3DCAPS9 &devCaps) |
return a D3D9 equivalent for a Ogre LayerBlendOperationEx value | |
DWORD | get (LayerBlendSource lbs) |
return a D3D9 equivalent for a Ogre LayerBlendSource value | |
D3DBLEND | get (SceneBlendFactor sbf) |
return a D3D9 equivalent for a Ogre SceneBlendFactor value | |
DWORD | get (CompareFunction cf) |
return a D3D9 equivalent for a Ogre CompareFunction value | |
DWORD | get (CullingMode cm, bool flip) |
return a D3D9 equivalent for a Ogre CillingMode value | |
D3DFOGMODE | get (FogMode fm) |
return a D3D9 equivalent for a Ogre FogMode value | |
D3DFILLMODE | get (PolygonMode level) |
return a D3D9 equivalent for a Ogre PolygonMode value | |
DWORD | get (StencilOperation op, bool invert=false) |
return a D3D9 equivalent for a Ogre StencilOperation value | |
D3DSAMPLERSTATETYPE | get (FilterType ft) |
return a D3D9 state type for Ogre FilterType value | |
DWORD | get (FilterType ft, FilterOptions fo, const D3DCAPS9 &devCaps, eD3DTexType texType) |
return a D3D9 filter option for Ogre FilterType & FilterOption value | |
eD3DTexType | get (TextureType ogreTexType) |
return the D3DtexType equivalent of a Ogre tex. type | |
DWORD | get (HardwareBuffer::Usage usage) |
return the combination of D3DUSAGE values for Ogre buffer usage | |
DWORD | get (HardwareBuffer::LockOptions options, HardwareBuffer::Usage usage) |
Get lock options. | |
D3DFORMAT | get (HardwareIndexBuffer::IndexType itype) |
Get index type. | |
D3DDECLTYPE | get (VertexElementType vType) |
Get vertex data type. | |
D3DDECLUSAGE | get (VertexElementSemantic sem) |
Get vertex semantic. | |
D3DXMATRIX | makeD3DXMatrix (const Matrix4 &mat) |
Matrix4 | D3D9Mappings::convertD3DXMatrix (const D3DXMATRIX &mat) |
PixelFormat | _getPF (D3DFORMAT d3dPF) |
utility method, convert D3D9 pixel format to Ogre pixel format | |
D3DFORMAT | _getPF (PixelFormat ogrePF) |
utility method, convert Ogre pixel format to D3D9 pixel format | |
PixelFormat | _getClosestSupportedPF (PixelFormat ogrePF) |
utility method, find closest Ogre pixel format that D3D9 can support |
|
enum identifying D3D9 filter usage type
Definition at line 61 of file OgreD3D9Mappings.h. |
|
enum identifying D3D9 tex. types
Definition at line 48 of file OgreD3D9Mappings.h. |
|
utility method, find closest Ogre pixel format that D3D9 can support
|
|
utility method, convert Ogre pixel format to D3D9 pixel format
|
|
utility method, convert D3D9 pixel format to Ogre pixel format
|
|
|
|
Get vertex semantic.
|
|
Get vertex data type.
|
|
Get index type.
|
|
Get lock options.
|
|
return the combination of D3DUSAGE values for Ogre buffer usage
|
|
return the D3DtexType equivalent of a Ogre tex. type
|
|
return a D3D9 filter option for Ogre FilterType & FilterOption value
|
|
return a D3D9 state type for Ogre FilterType value
|
|
return a D3D9 equivalent for a Ogre StencilOperation value
|
|
return a D3D9 equivalent for a Ogre PolygonMode value
|
|
return a D3D9 equivalent for a Ogre FogMode value
|
|
return a D3D9 equivalent for a Ogre CillingMode value
|
|
return a D3D9 equivalent for a Ogre CompareFunction value
|
|
return a D3D9 equivalent for a Ogre SceneBlendFactor value
|
|
return a D3D9 equivalent for a Ogre LayerBlendSource value
|
|
return a D3D9 equivalent for a Ogre LayerBlendOperationEx value
|
|
return a D3D9 equivalent for a Ogre LayerBlendType value
|
|
return a D3D9 equivalent for a Ogre TextureAddressingMode value
|
|
return a D3D9 equivalent for a Ogre TexCoordCalsMethod value
|
|
return a D3D9 equivalent for a Ogre LightTypes value
|
|
return a D3D9 equivalent for a Ogre ShadeOptions value
|
|
|
Copyright © 2000-2005 by The OGRE Team
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Sun Mar 12 14:50:51 2006