Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages

# Ogre::D3DRenderSystem Class Reference

Implementation of DirectX as a rendering system. More...

`#include <OgreD3D7RenderSystem.h>`

Inheritance diagram for Ogre::D3DRenderSystem:

[legend]
List of all members.

## Public Methods

| D3DRenderSystem (HINSTANCE hInstance)
| ~D3DRenderSystem ()
const String & | getName (void) const
| See RenderSystem.
ConfigOptionMap & | getConfigOptions (void)
| See RenderSystem.
void | setConfigOption (const String &name, const String &value)
| See RenderSystem.
String | validateConfigOptions (void)
| See RenderSystem.
RenderWindow * | initialise (bool autoCreateWindow, const String &windowTitle="OGRE Render Window")
| See RenderSystem.
void | reinitialise (void)
| See RenderSystem.
void | shutdown (void)
| See RenderSystem.
void | setAmbientLight (float r, float g, float b)
| See RenderSystem.
void | setShadingType (ShadeOptions so)
| See RenderSystem.
void | setLightingEnabled (bool enabled)
| See RenderSystem.
RenderWindow * | createRenderWindow (const String &name, unsigned int width, unsigned int height, unsigned int colourDepth, bool fullScreen, int left=0, int top=0, bool depthBuffer=true, RenderWindow *parentWindowHandle=0)
| See RenderSystem.
RenderTexture * | createRenderTexture (const String &name, unsigned int width, unsigned int height)
| Creates and registers a render texture object.
void | destroyRenderWindow (RenderWindow *pWin)
| See RenderSystem.
String | getErrorDescription (long errorNumber) const
| See RenderSystem.
void | convertColourValue (const ColourValue &colour, unsigned long *pDest)
| See RenderSystem.
void | _useLights (const LightList &lights, unsigned short limit)
| See RenderSystem.
void | _setWorldMatrix (const Matrix4 &m)
| See RenderSystem.
void | _setViewMatrix (const Matrix4 &m)
| See RenderSystem.
void | _setProjectionMatrix (const Matrix4 &m)
| See RenderSystem.
void | _setSurfaceParams (const ColourValue &ambient, const ColourValue &diffuse, const ColourValue &specular, const ColourValue &emissive, Real shininess)
| See RenderSystem.
void | _setTexture (size_t unit, bool enabled, const String &texname)
| See RenderSystem.
void | _setTextureBlendMode (size_t unit, const LayerBlendModeEx &bm)
| See RenderSystem.
void | _setTextureAddressingMode (size_t unit, TextureUnitState::TextureAddressingMode tam)
| See RenderSystem.
void | _setTextureMatrix (size_t unit, const Matrix4 &xform)
| See RenderSystem.
void | _setTextureCoordSet (size_t unit, size_t index)
| See RenderSystem.
void | _setTextureCoordCalculation (size_t unit, TexCoordCalcMethod m, const Frustum *frustum=0)
| See RenderSystem.
void | _setSceneBlending (SceneBlendFactor sourceFactor, SceneBlendFactor destFactor)
| See RenderSystem.
void | _setAlphaRejectSettings (CompareFunction func, unsigned char value)
| See RenderSystem.
void | _setViewport (Viewport *vp)
| See RenderSystem.
void | _beginFrame (void)
| See RenderSystem.
void | _render (const RenderOperation &op)
| See RenderSystem.
void | _endFrame (void)
| See RenderSystem.
void | _setCullingMode (CullingMode mode)
| See RenderSystem.
void | _setDepthBufferParams (bool depthTest=true, bool depthWrite=true, CompareFunction depthFunction=CMPF_LESS_EQUAL)
| See RenderSystem.
void | _setDepthBufferCheckEnabled (bool enabled=true)
| See RenderSystem.
void | _setDepthBufferWriteEnabled (bool enabled=true)
| See RenderSystem.
void | _setDepthBufferFunction (CompareFunction func=CMPF_LESS_EQUAL)
| See RenderSystem.
void | _setDepthBias (ushort bias)
| See RenderSystem.
void | _setColourBufferWriteEnabled (bool red, bool green, bool blue, bool alpha)
| See RenderSystem.
void | _setFog (FogMode mode, const ColourValue &colour, Real density, Real start, Real end)
| See RenderSystem.
void | _makeProjectionMatrix (const Radian &fovy, Real aspect, Real nearPlane, Real farPlane, Matrix4 &dest, bool forGpuProgram=false)
| See RenderSystem.
void | _makeProjectionMatrix (Real left, Real right, Real bottom, Real top, Real nearPlane, Real farPlane, Matrix4 &dest, bool forGpuProgram=false)
| See RenderSystem.
void | _makeOrthoMatrix (const Radian &fovy, Real aspect, Real nearPlane, Real farPlane, Matrix4 &dest, bool forGpuProgram=false)
| See RenderSystem.
void | _applyObliqueDepthProjection (Matrix4 &matrix, const Plane &plane, bool forGpuProgram)
| See RenderSystem.
void | _setRasterisationMode (SceneDetailLevel level)
| See RenderSystem.
void | setStencilCheckEnabled (bool enabled)
| See RenderSystem.
void | setStencilBufferParams (CompareFunction func=CMPF_ALWAYS_PASS, ulong refValue=0, ulong mask=0xFFFFFFFF, StencilOperation stencilFailOp=SOP_KEEP, StencilOperation depthFailOp=SOP_KEEP, StencilOperation passOp=SOP_KEEP, bool twoSidedOperation=false)
| See RenderSystem.
void | _setTextureUnitFiltering (size_t unit, FilterType ftype, FilterOptions filter)
| Sets a single filter for a given texture unit.
void | _setTextureLayerAnisotropy (size_t unit, unsigned int maxAnisotropy)
| See RenderSystem.
void | setVertexDeclaration (VertexDeclaration *decl)
| See RenderSystem.
void | setVertexBufferBinding (VertexBufferBinding *binding)
| See RenderSystem.
void | setNormaliseNormals (bool normalise)
| See RenderSystem.
void | bindGpuProgram (GpuProgram *prg)
| See RenderSystem.
void | unbindGpuProgram (GpuProgramType gptype)
| See RenderSystem.
void | bindGpuProgramParameters (GpuProgramType gptype, GpuProgramParametersSharedPtr params)
| See RenderSystem.
void | setClipPlanes (const PlaneList &clipPlanes)
| See RenderSystem.
void | setScissorTest (bool enabled, size_t left=0, size_t top=0, size_t right=800, size_t bottom=600)
| See RenderSystem.
void | clearFrameBuffer (unsigned int buffers, const ColourValue &colour=ColourValue::Black, Real depth=1.0f, unsigned short stencil=0)
| See RenderSystem.
void | setClipPlane (ushort index, Real A, Real B, Real C, Real D)
| Set a clipping plane.
void | enableClipPlane (ushort index, bool enable)
| Enable the clipping plane.
HardwareOcclusionQuery * | createHardwareOcclusionQuery (void)
| See RenderSystem.
Real | getHorizontalTexelOffset (void)
| Returns the horizontal texel offset value required for mapping texel origins to pixel origins in this rendersystem.
Real | getVerticalTexelOffset (void)
| Returns the vertical texel offset value required for mapping texel origins to pixel origins in this rendersystem.
Real | getMinimumDepthInputValue (void)
| Gets the minimum (closest) depth value to be used when rendering using identity transforms.
Real | getMaximumDepthInputValue (void)
| Gets the maximum (farthest) depth value to be used when rendering using identity transforms.
void | setWBufferEnabled (bool enabled)
| Sets whether or not W-buffers are enabled if they are avalible for this renderer.
bool | getWBufferEnabled (void) const
| Returns true if the renderer will try to use W-buffers when avalible.
virtual void | destroyRenderWindow (const String &name)
| Don't do this anymore, just allow via Root RenderSystem* regPtr = Root::getSingleton().getRenderSystem(); if (!regPtr || regPtr != this) Register self - library user has come to me direct Root::getSingleton().setRenderSystem(this);.
virtual void | destroyRenderTexture (const String &name)
| Destroys a render texture.
virtual void | destroyRenderTarget (const String &name)
| Destroys a render target of any sort.
virtual void | attachRenderTarget (RenderTarget &target)
| Attaches the passed render target to the render system.
virtual RenderTarget * | getRenderTarget (const String &name)
| Returns a pointer to the render target with the passed name, or NULL if that render target cannot be found.
virtual RenderTarget * | detachRenderTarget (const String &name)
| Detaches the render target with the passed name from the render system and returns a pointer to it.
void | setWaitForVerticalBlank (bool enabled)
| Defines whether or now fullscreen render windows wait for the vertical blank before flipping buffers.
bool | getWaitForVerticalBlank (void) const
| Returns true if the system is synchronising frames with the monitor vertical blank.
virtual void | _setWorldMatrices (const Matrix4 *m, unsigned short count)
| Sets multiple world matrices (vertex blending).
virtual void | _setTextureUnitSettings (size_t texUnit, TextureUnitState &tl)
| Utility function for setting all the properties of a texture unit at once.
virtual void | _disableTextureUnit (size_t texUnit)
| Turns off a texture unit.
virtual void | _disableTextureUnitsFrom (size_t texUnit)
| Disables all texture units from the given unit upwards.
virtual void | _setTextureUnitFiltering (size_t unit, FilterOptions minFilter, FilterOptions magFilter, FilterOptions mipFilter)
| Sets the filtering options for a given texture unit.
virtual Viewport * | _getViewport (void)
| Get the current active viewport for rendering.
virtual CullingMode | _getCullingMode (void) const
virtual void | _beginGeometryCount (void)
| The RenderSystem will keep a count of tris rendered, this resets the count.
virtual unsigned int | _getFaceCount (void) const
| Reports the number of tris rendered since the last _beginGeometryCount call.
virtual unsigned int | _getVertexCount (void) const
| Reports the number of vertices passed to the renderer since the last _beginGeometryCount call.
const RenderSystemCapabilities * | getCapabilities (void) const
| Gets the capabilities of the render system.
virtual void | _initRenderTargets (void)
| Utility method for initialising all render targets attached to this rendering system.
virtual void | _notifyCameraRemoved (const Camera *cam)
| Utility method to notify all render targets that a camera has been removed, incase they were referring to it as their viewer.
virtual void | _updateAllRenderTargets (void)
| Internal method for updating all render targets attached to this rendering system.
virtual void | setClipPlane (ushort index, const Plane &p)
| Set a clipping plane.
virtual void | setInvertVertexWinding (bool invert)
| Sets whether or not vertex windings set should be inverted; this can be important for rendering reflections.

## Protected Attributes

RenderTargetMap | mRenderTargets
| The render targets.
RenderTargetPriorityMap | mPrioritisedRenderTargets
| The render targets, ordered by priority.
RenderTarget * | mActiveRenderTarget
| The Active render target.
TextureManager * | mTextureManager
RenderSystemCapabilities * | mCapabilities
| Used to store the capabilities of the graphics card.
Viewport * | mActiveViewport
CullingMode | mCullingMode
bool | mVSync
bool | mWBuffer
size_t | mFaceCount
size_t | mVertexCount
Matrix4 | mWorldMatrices [256]
| Saved set of world matrices.
bool | mInvertVertexWinding

## Private Types

enum | eD3DTexType { D3D_TEX_TYPE_NORMAL, D3D_TEX_TYPE_CUBE, D3D_TEX_TYPE_VOLUME }
| enum identifying D3D9 tex. types More...

## Private Methods

DDDriverList * | getDirectDrawDrivers (void)
void | refreshDDSettings (void)
eD3DTexType | _ogreTexTypeToD3DTexType (TextureType ogreTexType)
| return the D3DtexType equivalent of a Ogre tex. type
D3DMATRIX | makeD3DMatrix (const Matrix4 &mat)
Matrix4 | convertD3DMatrix (const D3DMATRIX &mat)
void | initConfigOptions (void)
void | initInputDevices (void)
void | processInputDevices (void)
void | setD3DLight (size_t index, Light *light)
D3DCMPFUNC | convertCompareFunction (CompareFunction func)
D3DSTENCILOP | convertStencilOp (StencilOperation op)
HRESULT | __SetRenderState (D3DRENDERSTATETYPE state, DWORD value)
HRESULT | __SetTextureStageState (DWORD stage, D3DTEXTURESTAGESTATETYPE type, DWORD value)
D3DTEXTURESTAGESTATETYPE | _getFilterCode (FilterType ft) const
DWORD | _getFilter (FilterType ft, FilterOptions fo) const
DWORD | _getCurrentAnisotropy (size_t unit)

## Private Attributes

LPDIRECT3DDEVICE7 | mlpD3DDevice
D3DDEVICEDESC7 | mD3DDeviceDesc
DDDriverList * | mDriverList
DDDriver * | mActiveDDDriver
HINSTANCE | mhInstance
ConfigOptionMap | mOptions
Ogre::D3DRenderSystem::sD3DTextureStageDesc | mTexStageDesc [OGRE_MAX_TEXTURE_LAYERS]
| structure holding texture unit settings for every stage
HardwareBufferManager * | mHardwareBufferManager
GpuProgramManager * | mGpuProgramManager
unsigned short | mCurrentLights
Matrix4 | mViewMatrix
SceneBlendFactor | mSavedSrcFactor
SceneBlendFactor | mSavedDestFactor

## Detailed Description

Implementation of DirectX as a rendering system.

Definition at line 45 of file OgreD3D7RenderSystem.h.

## Member Enumeration Documentation

enum Ogre::D3DRenderSystem::eD3DTexType`[private]`

enum identifying D3D9 tex. types

Enumeration values:

  D3D_TEX_TYPE_NORMAL | standard texture
  D3D_TEX_TYPE_CUBE | cube texture
  D3D_TEX_TYPE_VOLUME | volume texture

Definition at line 72 of file OgreD3D7RenderSystem.h.

Referenced by _ogreTexTypeToD3DTexType().

## Constructor & Destructor Documentation

Ogre::D3DRenderSystem::D3DRenderSystem | ( | HINSTANCE | hInstance | ) |

Definition at line 62 of file OgreD3D7RenderSystem.cpp.

References Ogre::D3DRenderSystem::sD3DTextureStageDesc::autoTexCoordType, Ogre::D3DRenderSystem::sD3DTextureStageDesc::coordIndex, D3D_TEX_TYPE_NORMAL, getName(), initConfigOptions(), mActiveDDDriver, mCurrentLights, mDriverList, mGpuProgramManager, mHardwareBufferManager, mhInstance, mlpD3DDevice, mTexStageDesc, OGRE_MAX_TEXTURE_LAYERS, OgreGuard, OgreUnguard, Ogre::D3DRenderSystem::sD3DTextureStageDesc::pTex, Ogre::TEXCALC_NONE, and Ogre::D3DRenderSystem::sD3DTextureStageDesc::texType.

Ogre::D3DRenderSystem::~D3DRenderSystem | ( |  | ) |

| Definition at line 96 of file OgreD3D7RenderSystem.cpp. References getName(), Ogre::RenderSystem::mCapabilities, mDriverList, mGpuProgramManager, mHardwareBufferManager, Ogre::RenderSystem::mTextureManager, OgreGuard, OgreUnguard, SAFE_DELETE, and shutdown().

## Member Function Documentation

HRESULT Ogre::D3DRenderSystem::__SetRenderState | ( | D3DRENDERSTATETYPE | state,
|  | DWORD | value
| ) | `[private]`

Definition at line 2606 of file OgreD3D7RenderSystem.cpp.

References mlpD3DDevice.

Referenced by _beginFrame(), _setAlphaRejectSettings(), _setCullingMode(), _setDepthBias(), _setDepthBufferCheckEnabled(), _setDepthBufferFunction(), _setDepthBufferWriteEnabled(), _setFog(), _setRasterisationMode(), _setSceneBlending(), _setTextureBlendMode(), enableClipPlane(), setAmbientLight(), setLightingEnabled(), setNormaliseNormals(), setShadingType(), setStencilBufferParams(), and setStencilCheckEnabled().

HRESULT Ogre::D3DRenderSystem::__SetTextureStageState | ( | DWORD | stage,
|  | D3DTEXTURESTAGESTATETYPE | type,
|  | DWORD | value
| ) | `[private]`

| Definition at line 2619 of file OgreD3D7RenderSystem.cpp. References mlpD3DDevice. Referenced by _setTexture(), _setTextureAddressingMode(), _setTextureBlendMode(), _setTextureCoordCalculation(), _setTextureCoordSet(), _setTextureLayerAnisotropy(), _setTextureMatrix(), and _setTextureUnitFiltering().

void Ogre::D3DRenderSystem::_applyObliqueDepthProjection | ( | Matrix4 & | matrix,
|  | const Plane & | plane,
|  | bool | forGpuProgram
| ) | `[virtual]`

| See RenderSystem. Implements Ogre::RenderSystem. Definition at line 2785 of file OgreD3D7RenderSystem.cpp. References Ogre::Plane::d, Ogre::Vector4::dotProduct(), Ogre::Plane::normal, Ogre::Vector4::w, Ogre::Vector3::x, Ogre::Vector4::x, Ogre::Vector3::y, Ogre::Vector4::y, Ogre::Vector3::z, and Ogre::Vector4::z.

void Ogre::D3DRenderSystem::_beginFrame | ( | void |  | ) | `[virtual]`

| See RenderSystem. Implements Ogre::RenderSystem. Definition at line 1365 of file OgreD3D7RenderSystem.cpp. References __SetRenderState(), clearFrameBuffer(), Except, Ogre::FBT_COLOUR, Ogre::FBT_DEPTH, Ogre::firstTime, Ogre::Viewport::getBackgroundColour(), Ogre::Viewport::getClearEveryFrame(), Ogre::RenderSystem::mActiveViewport, mlpD3DDevice, OgreGuard, and OgreUnguard.

void Ogre::RenderSystem::_beginGeometryCount | ( | void |  | ) | `[virtual, inherited]`

| The RenderSystem will keep a count of tris rendered, this resets the count. Definition at line 331 of file OgreRenderSystem.cpp. References Ogre::RenderSystem::mFaceCount, and Ogre::RenderSystem::mVertexCount. Referenced by Ogre::SceneManager::_renderScene().

void Ogre::RenderSystem::_disableTextureUnit | ( | size_t | texUnit | ) | `[virtual, inherited]`

| Turns off a texture unit. Definition at line 273 of file OgreRenderSystem.cpp. References Ogre::RenderSystem::_setTexture(), and Ogre::RenderSystem::_setTextureMatrix(). Referenced by Ogre::RenderSystem::_disableTextureUnitsFrom().

void Ogre::RenderSystem::_disableTextureUnitsFrom | ( | size_t | texUnit | ) | `[virtual, inherited]`

| Disables all texture units from the given unit upwards. Definition at line 279 of file OgreRenderSystem.cpp. References Ogre::RenderSystem::_disableTextureUnit(), Ogre::RenderSystemCapabilities::getNumTextureUnits(), and Ogre::RenderSystem::mCapabilities. Referenced by Ogre::SceneManager::setPass().

void Ogre::D3DRenderSystem::_endFrame | ( | void |  | ) | `[virtual]`

| See RenderSystem. Implements Ogre::RenderSystem. Definition at line 1629 of file OgreD3D7RenderSystem.cpp. References Except, mlpD3DDevice, OgreGuard, and OgreUnguard.

CullingMode Ogre::RenderSystem::_getCullingMode | ( | void |  | ) | const`[virtual, inherited]`

| Definition at line 295 of file OgreRenderSystem.cpp. References Ogre::CullingMode, and Ogre::RenderSystem::mCullingMode.

DWORD Ogre::D3DRenderSystem::_getCurrentAnisotropy | ( | size_t | unit | ) | `[private]`

| Definition at line 2473 of file OgreD3D7RenderSystem.cpp. References mlpD3DDevice. Referenced by _setTextureLayerAnisotropy().

unsigned int Ogre::RenderSystem::_getFaceCount | ( | void |  | ) | const`[virtual, inherited]`

| Reports the number of tris rendered since the last _beginGeometryCount call. Definition at line 337 of file OgreRenderSystem.cpp. Referenced by Ogre::SceneManager::_renderScene().

DWORD Ogre::D3DRenderSystem::_getFilter | ( | FilterType | ft,
|  | FilterOptions | fo
| ) | const`[private]`

| Definition at line 2525 of file OgreD3D7RenderSystem.cpp. References Ogre::FilterOptions, Ogre::FilterType, Ogre::FO_ANISOTROPIC, Ogre::FO_LINEAR, Ogre::FO_NONE, Ogre::FO_POINT, Ogre::FT_MAG, Ogre::FT_MIN, Ogre::FT_MIP, mD3DDeviceDesc, and Ogre::TFO_NONE. Referenced by _setTextureUnitFiltering().

D3DTEXTURESTAGESTATETYPE Ogre::D3DRenderSystem::_getFilterCode | ( | FilterType | ft | ) | const`[private]`

| Definition at line 2506 of file OgreD3D7RenderSystem.cpp. References Ogre::FilterType, Ogre::FT_MAG, Ogre::FT_MIN, and Ogre::FT_MIP. Referenced by _setTextureUnitFiltering().

unsigned int Ogre::RenderSystem::_getVertexCount | ( | void |  | ) | const`[virtual, inherited]`

| Reports the number of vertices passed to the renderer since the last _beginGeometryCount call. Definition at line 342 of file OgreRenderSystem.cpp.

Viewport * Ogre::RenderSystem::_getViewport | ( | void |  | ) | `[virtual, inherited]`

| Get the current active viewport for rendering. Definition at line 184 of file OgreRenderSystem.cpp. References Ogre::RenderSystem::mActiveViewport.

void Ogre::RenderSystem::_initRenderTargets | ( | void |  | ) | `[virtual, inherited]`

| Utility method for initialising all render targets attached to this rendering system. Definition at line 73 of file OgreRenderSystem.cpp. References Ogre::RenderSystem::mRenderTargets. Referenced by Ogre::Root::startRendering().

void Ogre::D3DRenderSystem::_makeOrthoMatrix | ( | const Radian & | fovy,
|  | Real | aspect,
|  | Real | nearPlane,
|  | Real | farPlane,
|  | Matrix4 & | dest,
|  | bool | forGpuProgram = false
| ) | `[virtual]`

| See RenderSystem. Implements Ogre::RenderSystem. Definition at line 2296 of file OgreD3D7RenderSystem.cpp. References Ogre::Real.

void Ogre::D3DRenderSystem::_makeProjectionMatrix | ( | Real | left,
|  | Real | right,
|  | Real | bottom,
|  | Real | top,
|  | Real | nearPlane,
|  | Real | farPlane,
|  | Matrix4 & | dest,
|  | bool | forGpuProgram = false
| ) | `[virtual]`

| See RenderSystem. Implements Ogre::RenderSystem. Definition at line 2665 of file OgreD3D7RenderSystem.cpp. References Ogre::Real.

void Ogre::D3DRenderSystem::_makeProjectionMatrix | ( | const Radian & | fovy,
|  | Real | aspect,
|  | Real | nearPlane,
|  | Real | farPlane,
|  | Matrix4 & | dest,
|  | bool | forGpuProgram = false
| ) | `[virtual]`

| See RenderSystem. Implements Ogre::RenderSystem. Definition at line 2259 of file OgreD3D7RenderSystem.cpp. References Ogre::Real.

void Ogre::RenderSystem::_notifyCameraRemoved | ( | const Camera * | cam | ) | `[virtual, inherited]`

| Utility method to notify all render targets that a camera has been removed, incase they were referring to it as their viewer. Definition at line 397 of file OgreRenderSystem.cpp. References Ogre::RenderTarget::_notifyCameraRemoved(), and Ogre::RenderSystem::mRenderTargets. Referenced by Ogre::SceneManager::removeAllCameras(), and Ogre::SceneManager::removeCamera().

eD3DTexType Ogre::D3DRenderSystem::_ogreTexTypeToD3DTexType | ( | TextureType | ogreTexType | ) | `[private]`

| return the D3DtexType equivalent of a Ogre tex. type Definition at line 83 of file OgreD3D7RenderSystem.h. References D3D_TEX_TYPE_CUBE, D3D_TEX_TYPE_NORMAL, eD3DTexType, Except, Ogre::TEX_TYPE_1D, Ogre::TEX_TYPE_2D, Ogre::TEX_TYPE_CUBE_MAP, and Ogre::TextureType. Referenced by _setTexture().

void Ogre::D3DRenderSystem::_render | ( | const RenderOperation & | op | ) | `[virtual]`

See RenderSystem.

Reimplemented from Ogre::RenderSystem.

Definition at line 1413 of file OgreD3D7RenderSystem.cpp.

References Except, Ogre::VertexBufferBinding::getBindings(), Ogre::VertexDeclaration::getElements(), Ogre::VertexElement::getIndex(), Ogre::VertexElement::getOffset(), Ogre::VertexElement::getSemantic(), Ogre::VertexElement::getSource(), Ogre::VertexElement::getType(), Ogre::VertexDeclaration::getVertexSize(), Ogre::IndexData::indexBuffer, Ogre::IndexData::indexCount, Ogre::RenderOperation::indexData, Ogre::IndexData::indexStart, mlpD3DDevice, OgreGuard, OgreUnguard, Ogre::RenderOperation::operationType, Ogre::RenderOperation::useIndexes, Ogre::VertexData::vertexBufferBinding, Ogre::VertexData::vertexCount, Ogre::RenderOperation::vertexData, Ogre::VertexData::vertexDeclaration, Ogre::VertexData::vertexStart, Ogre::VES_DIFFUSE, Ogre::VES_NORMAL, Ogre::VES_POSITION, Ogre::VES_SPECULAR, Ogre::VES_TEXTURE_COORDINATES, Ogre::VET_FLOAT1, Ogre::VET_FLOAT2, Ogre::VET_FLOAT3, and Ogre::VET_FLOAT4.

void Ogre::D3DRenderSystem::_setAlphaRejectSettings | ( | CompareFunction | func,
|  | unsigned char | value
| ) | `[virtual]`

| See RenderSystem. Implements Ogre::RenderSystem. Definition at line 1296 of file OgreD3D7RenderSystem.cpp. References __SetRenderState(), Ogre::CMPF_ALWAYS_PASS, Ogre::CompareFunction, convertCompareFunction(), and Except.

void Ogre::D3DRenderSystem::_setColourBufferWriteEnabled | ( | bool | red,
|  | bool | green,
|  | bool | blue,
|  | bool | alpha
| ) | `[virtual]`

See RenderSystem.

Remarks:
  Direct3D7 DOES NOT SUPPORT COLOUR WRITE MASKING! This feature is emulated by using a null scene blend which will only work as long as setSceneBlend is called before it.

Implements Ogre::RenderSystem.

Definition at line 2757 of file OgreD3D7RenderSystem.cpp.

References _setSceneBlending(), Ogre::green, mSavedDestFactor, mSavedSrcFactor, Ogre::SBF_ONE, and Ogre::SBF_ZERO.

void Ogre::D3DRenderSystem::_setCullingMode | ( | CullingMode | mode | ) | `[virtual]`

See RenderSystem.

Implements Ogre::RenderSystem.

Definition at line 1644 of file OgreD3D7RenderSystem.cpp.

References __SetRenderState(), Ogre::CULL_ANTICLOCKWISE, Ogre::CULL_CLOCKWISE, Ogre::CULL_NONE, Ogre::CullingMode, Except, Ogre::RenderSystem::mActiveRenderTarget, Ogre::RenderSystem::mCullingMode, Ogre::RenderSystem::mInvertVertexWinding, and Ogre::RenderTarget::requiresTextureFlipping().

Referenced by _setViewport().

void Ogre::D3DRenderSystem::_setDepthBias | ( | ushort | bias | ) | `[virtual]`

| See RenderSystem. Implements Ogre::RenderSystem. Definition at line 1731 of file OgreD3D7RenderSystem.cpp. References __SetRenderState(), Except, and Ogre::ushort.

void Ogre::D3DRenderSystem::_setDepthBufferCheckEnabled | ( | bool | enabled = true | ) | `[virtual]`

| See RenderSystem. Implements Ogre::RenderSystem. Definition at line 1688 of file OgreD3D7RenderSystem.cpp. References __SetRenderState(), Except, mD3DDeviceDesc, and Ogre::RenderSystem::mWBuffer. Referenced by _setDepthBufferParams().

void Ogre::D3DRenderSystem::_setDepthBufferFunction | ( | CompareFunction | func = CMPF_LESS_EQUAL | ) | `[virtual]`

| See RenderSystem. Implements Ogre::RenderSystem. Definition at line 1722 of file OgreD3D7RenderSystem.cpp. References __SetRenderState(), Ogre::CompareFunction, convertCompareFunction(), and Except. Referenced by _setDepthBufferParams().

void Ogre::D3DRenderSystem::_setDepthBufferParams | ( | bool | depthTest = true,
|  | bool | depthWrite = true,
|  | CompareFunction | depthFunction = CMPF_LESS_EQUAL
| ) | `[virtual]`

| See RenderSystem. Implements Ogre::RenderSystem. Definition at line 1680 of file OgreD3D7RenderSystem.cpp. References _setDepthBufferCheckEnabled(), _setDepthBufferFunction(), _setDepthBufferWriteEnabled(), and Ogre::CompareFunction.

void Ogre::D3DRenderSystem::_setDepthBufferWriteEnabled | ( | bool | enabled = true | ) | `[virtual]`

| See RenderSystem. Implements Ogre::RenderSystem. Definition at line 1712 of file OgreD3D7RenderSystem.cpp. References __SetRenderState(), and Except. Referenced by _setDepthBufferParams().

void Ogre::D3DRenderSystem::_setFog | ( | FogMode | mode,
|  | const ColourValue & | colour,
|  | Real | density,
|  | Real | start,
|  | Real | end
| ) | `[virtual]`

| See RenderSystem. Implements Ogre::RenderSystem. Definition at line 2202 of file OgreD3D7RenderSystem.cpp. References __SetRenderState(), Ogre::FOG_EXP, Ogre::FOG_EXP2, Ogre::FOG_LINEAR, Ogre::FOG_NONE, Ogre::FogMode, Ogre::ColourValue::getAsLongARGB(), mD3DDeviceDesc, and Ogre::Real.

void Ogre::D3DRenderSystem::_setProjectionMatrix | ( | const Matrix4 & | m | ) | `[virtual]`

| See RenderSystem. Implements Ogre::RenderSystem. Definition at line 814 of file OgreD3D7RenderSystem.cpp. References Except, Ogre::RenderSystem::mActiveRenderTarget, makeD3DMatrix(), mlpD3DDevice, and Ogre::RenderTarget::requiresTextureFlipping().

void Ogre::D3DRenderSystem::_setRasterisationMode | ( | SceneDetailLevel | level | ) | `[virtual]`

| See RenderSystem. Implements Ogre::RenderSystem. Definition at line 2331 of file OgreD3D7RenderSystem.cpp. References __SetRenderState(), Except, Ogre::SceneDetailLevel, Ogre::SDL_POINTS, Ogre::SDL_SOLID, and Ogre::SDL_WIREFRAME.

void Ogre::D3DRenderSystem::_setSceneBlending | ( | SceneBlendFactor | sourceFactor,
|  | SceneBlendFactor | destFactor
| ) | `[virtual]`

See RenderSystem.

Implements Ogre::RenderSystem.

Definition at line 1236 of file OgreD3D7RenderSystem.cpp.

References __SetRenderState(), mSavedDestFactor, mSavedSrcFactor, Ogre::SBF_DEST_ALPHA, Ogre::SBF_DEST_COLOUR, Ogre::SBF_ONE, Ogre::SBF_ONE_MINUS_DEST_ALPHA, Ogre::SBF_ONE_MINUS_DEST_COLOUR, Ogre::SBF_ONE_MINUS_SOURCE_ALPHA, Ogre::SBF_ONE_MINUS_SOURCE_COLOUR, Ogre::SBF_SOURCE_ALPHA, Ogre::SBF_SOURCE_COLOUR, Ogre::SBF_ZERO, and Ogre::SceneBlendFactor.

Referenced by _setColourBufferWriteEnabled().

void Ogre::D3DRenderSystem::_setSurfaceParams | ( | const ColourValue & | ambient,
|  | const ColourValue & | diffuse,
|  | const ColourValue & | specular,
|  | const ColourValue & | emissive,
|  | Real | shininess
| ) | `[virtual]`

| See RenderSystem. Implements Ogre::RenderSystem. Definition at line 832 of file OgreD3D7RenderSystem.cpp. References Ogre::ColourValue::a, Ogre::ColourValue::b, Except, Ogre::ColourValue::g, mlpD3DDevice, Ogre::ColourValue::r, and Ogre::Real.

void Ogre::D3DRenderSystem::_setTexture | ( | size_t | unit,
|  | bool | enabled,
|  | const String & | texname
| ) | `[virtual]`

See RenderSystem.

Implements Ogre::RenderSystem.

Definition at line 881 of file OgreD3D7RenderSystem.cpp.

References __SetTextureStageState(), _ogreTexTypeToD3DTexType(), Ogre::D3DRenderSystem::sD3DTextureStageDesc::autoTexCoordType, Ogre::D3DRenderSystem::sD3DTextureStageDesc::coordIndex, D3D_TEX_TYPE_NORMAL, Except, Ogre::D3DTexture::getDDSurface(), Ogre::Texture::getTextureType(), mlpD3DDevice, mTexStageDesc, Ogre::D3DRenderSystem::sD3DTextureStageDesc::pTex, Ogre::String, Ogre::TEXCALC_NONE, and Ogre::D3DRenderSystem::sD3DTextureStageDesc::texType.

void Ogre::D3DRenderSystem::_setTextureAddressingMode | ( | size_t | unit,
|  | TextureUnitState::TextureAddressingMode | tam
| ) | `[virtual]`

| See RenderSystem. Implements Ogre::RenderSystem. Definition at line 1214 of file OgreD3D7RenderSystem.cpp. References __SetTextureStageState().

void Ogre::D3DRenderSystem::_setTextureBlendMode | ( | size_t | unit,
|  | const LayerBlendModeEx & | bm
| ) | `[virtual]`

See RenderSystem.

Implements Ogre::RenderSystem.

Definition at line 1090 of file OgreD3D7RenderSystem.cpp.

References __SetRenderState(), __SetTextureStageState(), Ogre::LayerBlendModeEx::alphaArg1, Ogre::LayerBlendModeEx::alphaArg2, Ogre::ColourValue::b, Ogre::LayerBlendModeEx::blendType, Ogre::LayerBlendModeEx::colourArg1, Ogre::LayerBlendModeEx::colourArg2, Ogre::LayerBlendModeEx::factor, Ogre::ColourValue::g, Ogre::LayerBlendSource, Ogre::LBS_CURRENT, Ogre::LBS_DIFFUSE, Ogre::LBS_MANUAL, Ogre::LBS_SPECULAR, Ogre::LBS_TEXTURE, Ogre::LBT_ALPHA, Ogre::LBT_COLOUR, Ogre::LBX_ADD, Ogre::LBX_ADD_SIGNED, Ogre::LBX_ADD_SMOOTH, Ogre::LBX_BLEND_CURRENT_ALPHA, Ogre::LBX_BLEND_DIFFUSE_ALPHA, Ogre::LBX_BLEND_MANUAL, Ogre::LBX_BLEND_TEXTURE_ALPHA, Ogre::LBX_DOTPRODUCT, Ogre::LBX_MODULATE, Ogre::LBX_MODULATE_X2, Ogre::LBX_MODULATE_X4, Ogre::LBX_SOURCE1, Ogre::LBX_SOURCE2, Ogre::LBX_SUBTRACT, mD3DDeviceDesc, Ogre::LayerBlendModeEx::operation, Ogre::ColourValue::r, Ogre::LayerBlendModeEx::source1, and Ogre::LayerBlendModeEx::source2.

void Ogre::D3DRenderSystem::_setTextureCoordCalculation | ( | size_t | unit,
|  | TexCoordCalcMethod | m,
|  | const Frustum * | frustum = 0
| ) | `[virtual]`

| See RenderSystem. Implements Ogre::RenderSystem. Definition at line 935 of file OgreD3D7RenderSystem.cpp. References __SetTextureStageState(), Ogre::D3DRenderSystem::sD3DTextureStageDesc::autoTexCoordType, Except, Ogre::D3DRenderSystem::sD3DTextureStageDesc::frustum, Ogre::getD3DTexCalc(), mTexStageDesc, and Ogre::TexCoordCalcMethod.

void Ogre::D3DRenderSystem::_setTextureCoordSet | ( | size_t | unit,
|  | size_t | index
| ) | `[virtual]`

| See RenderSystem. Implements Ogre::RenderSystem. Definition at line 1079 of file OgreD3D7RenderSystem.cpp. References __SetTextureStageState(), Ogre::D3DRenderSystem::sD3DTextureStageDesc::coordIndex, Except, Ogre::getD3DTexCalc(), and mTexStageDesc.

void Ogre::D3DRenderSystem::_setTextureLayerAnisotropy | ( | size_t | unit,
|  | unsigned int | maxAnisotropy
| ) | `[virtual]`

| See RenderSystem. Implements Ogre::RenderSystem. Definition at line 2487 of file OgreD3D7RenderSystem.cpp. References __SetTextureStageState(), _getCurrentAnisotropy(), and mD3DDeviceDesc.

void Ogre::D3DRenderSystem::_setTextureMatrix | ( | size_t | unit,
|  | const Matrix4 & | xform
| ) | `[virtual]`

See RenderSystem.

Implements Ogre::RenderSystem.

Definition at line 950 of file OgreD3D7RenderSystem.cpp.

References __SetTextureStageState(), Ogre::D3DRenderSystem::sD3DTextureStageDesc::autoTexCoordType, Ogre::Matrix4::concatenate(), D3D_TEX_TYPE_CUBE, D3D_TEX_TYPE_NORMAL, D3D_TEX_TYPE_VOLUME, Except, Ogre::D3DRenderSystem::sD3DTextureStageDesc::frustum, Ogre::Frustum::getProjectionMatrix(), Ogre::Frustum::getProjectionType(), Ogre::Frustum::getViewMatrix(), Ogre::Matrix4::inverse(), Ogre::Matrix4::m, makeD3DMatrix(), mlpD3DDevice, mTexStageDesc, mViewMatrix, Ogre::PROJECTIONCLIPSPACE2DTOIMAGESPACE_ORTHO(), Ogre::PROJECTIONCLIPSPACE2DTOIMAGESPACE_PERSPECTIVE(), Ogre::PT_PERSPECTIVE, Ogre::TEXCALC_ENVIRONMENT_MAP, Ogre::TEXCALC_ENVIRONMENT_MAP_REFLECTION, Ogre::TEXCALC_NONE, Ogre::TEXCALC_PROJECTIVE_TEXTURE, and Ogre::D3DRenderSystem::sD3DTextureStageDesc::texType.

void Ogre::RenderSystem::_setTextureUnitFiltering | ( | size_t | unit,
|  | FilterOptions | minFilter,
|  | FilterOptions | magFilter,
|  | FilterOptions | mipFilter
| ) | `[virtual, inherited]`

Sets the filtering options for a given texture unit.

Parameters:

  unit | The texture unit to set the filtering options for
  minFilter | The filter used when a texture is reduced in size
  magFilter | The filter used when a texture is magnified
  mipFilter | The filter used between mipmap levels, FO_NONE disables mipmapping

Definition at line 287 of file OgreRenderSystem.cpp.

References Ogre::FilterOptions, Ogre::FT_MAG, Ogre::FT_MIN, and Ogre::FT_MIP.

Referenced by Ogre::RenderSystem::_setTextureUnitSettings().

void Ogre::D3DRenderSystem::_setTextureUnitFiltering | ( | size_t | unit,
|  | FilterType | ftype,
|  | FilterOptions | filter
| ) | `[virtual]`

Sets a single filter for a given texture unit.

Parameters:

  unit | The texture unit to set the filtering options for
  ftype | The filter type
  filter | The filter to be used

Implements Ogre::RenderSystem.

Definition at line 2481 of file OgreD3D7RenderSystem.cpp.

References __SetTextureStageState(), _getFilter(), _getFilterCode(), Ogre::FilterOptions, and Ogre::FilterType.

void Ogre::RenderSystem::_setTextureUnitSettings | ( | size_t | texUnit,
|  | TextureUnitState & | tl
| ) | `[virtual, inherited]`

Utility function for setting all the properties of a texture unit at once.

This method is also worth using over the individual texture unit settings because it only sets those settings which are different from the current settings for this unit, thus minimising render state changes.

Definition at line 189 of file OgreRenderSystem.cpp.

References Ogre::RenderSystem::_setAlphaRejectSettings(), Ogre::RenderSystem::_setTexture(), Ogre::RenderSystem::_setTextureAddressingMode(), Ogre::RenderSystem::_setTextureBlendMode(), Ogre::RenderSystem::_setTextureCoordCalculation(), Ogre::RenderSystem::_setTextureCoordSet(), Ogre::RenderSystem::_setTextureLayerAnisotropy(), Ogre::RenderSystem::_setTextureMatrix(), Ogre::RenderSystem::_setTextureUnitFiltering(), Ogre::FT_MAG, Ogre::FT_MIN, Ogre::FT_MIP, Ogre::TextureUnitState::getAlphaBlendMode(), Ogre::TextureUnitState::getAlphaRejectFunction(), Ogre::TextureUnitState::getAlphaRejectValue(), Ogre::TextureUnitState::getColourBlendMode(), Ogre::TextureUnitState::getTextureAddressingMode(), Ogre::TextureUnitState::getTextureAnisotropy(), Ogre::TextureUnitState::getTextureCoordSet(), Ogre::TextureUnitState::getTextureFiltering(), Ogre::TextureUnitState::getTextureName(), Ogre::TextureUnitState::getTextureTransform(), Ogre::TextureUnitState::mEffects, Ogre::TEXCALC_ENVIRONMENT_MAP, Ogre::TEXCALC_ENVIRONMENT_MAP_NORMAL, Ogre::TEXCALC_ENVIRONMENT_MAP_PLANAR, Ogre::TEXCALC_ENVIRONMENT_MAP_REFLECTION, Ogre::TEXCALC_NONE, and Ogre::TEXCALC_PROJECTIVE_TEXTURE.

Referenced by Ogre::SceneManager::renderSingleObject(), and Ogre::SceneManager::setPass().

void Ogre::D3DRenderSystem::_setViewMatrix | ( | const Matrix4 & | m | ) | `[virtual]`

| See RenderSystem. Implements Ogre::RenderSystem. Definition at line 795 of file OgreD3D7RenderSystem.cpp. References Except, makeD3DMatrix(), mlpD3DDevice, and mViewMatrix.

void Ogre::D3DRenderSystem::_setViewport | ( | Viewport * | vp | ) | `[virtual]`

See RenderSystem.

Implements Ogre::RenderSystem.

Definition at line 1319 of file OgreD3D7RenderSystem.cpp.

References Ogre::Viewport::_clearUpdatedFlag(), Ogre::Viewport::_isUpdated(), _setCullingMode(), Except, Ogre::Viewport::getActualHeight(), Ogre::Viewport::getActualLeft(), Ogre::Viewport::getActualTop(), Ogre::Viewport::getActualWidth(), Ogre::RenderTarget::getCustomAttribute(), Ogre::Viewport::getTarget(), Ogre::RenderSystem::mActiveRenderTarget, Ogre::RenderSystem::mActiveViewport, Ogre::RenderSystem::mCullingMode, and mlpD3DDevice.

void Ogre::RenderSystem::_setWorldMatrices | ( | const Matrix4 * | m,
|  | unsigned short | count
| ) | `[virtual, inherited]`

| Sets multiple world matrices (vertex blending). Definition at line 347 of file OgreRenderSystem.cpp. References Ogre::RenderSystem::_setWorldMatrix(), and Ogre::RenderSystem::mWorldMatrices. Referenced by Ogre::SceneManager::renderSingleObject().

void Ogre::D3DRenderSystem::_setWorldMatrix | ( | const Matrix4 & | m | ) | `[virtual]`

| See RenderSystem. Implements Ogre::RenderSystem. Definition at line 781 of file OgreD3D7RenderSystem.cpp. References Except, makeD3DMatrix(), and mlpD3DDevice.

void Ogre::RenderSystem::_updateAllRenderTargets | ( | void |  | ) | `[virtual, inherited]`

| Internal method for updating all render targets attached to this rendering system. Definition at line 87 of file OgreRenderSystem.cpp. References Ogre::RenderSystem::mPrioritisedRenderTargets. Referenced by Ogre::Root::_updateAllRenderTargets().

void Ogre::D3DRenderSystem::_useLights | ( | const LightList & | lights,
|  | unsigned short | limit
| ) | `[virtual]`

| See RenderSystem. Implements Ogre::RenderSystem. Definition at line 627 of file OgreD3D7RenderSystem.cpp. References Ogre::LightList, mCurrentLights, and setD3DLight().

void Ogre::RenderSystem::attachRenderTarget | ( | RenderTarget & | target | ) | `[virtual, inherited]`

Attaches the passed render target to the render system.

Definition at line 134 of file OgreRenderSystem.cpp.

References Ogre::RenderTarget::getName(), Ogre::RenderTarget::getPriority(), Ogre::RenderSystem::mPrioritisedRenderTargets, Ogre::RenderSystem::mRenderTargets, and OGRE_NUM_RENDERTARGET_GROUPS.

Referenced by Ogre::GLRenderSystem::createRenderTexture(), Ogre::D3D9RenderSystem::createRenderTexture(), createRenderTexture(), Ogre::GLRenderSystem::createRenderWindow(), Ogre::D3D9RenderSystem::createRenderWindow(), and createRenderWindow().

void Ogre::D3DRenderSystem::bindGpuProgram | ( | GpuProgram * | prg | ) | `[virtual]`

| See RenderSystem. Implements Ogre::RenderSystem. Definition at line 391 of file OgreD3D7RenderSystem.h.

void Ogre::D3DRenderSystem::bindGpuProgramParameters | ( | GpuProgramType | gptype,
|  | GpuProgramParametersSharedPtr | params
| ) | `[virtual]`

| See RenderSystem. Implements Ogre::RenderSystem. Definition at line 399 of file OgreD3D7RenderSystem.h. References Ogre::GpuProgramParametersSharedPtr, Ogre::GpuProgramType, and params.

void Ogre::D3DRenderSystem::clearFrameBuffer | ( | unsigned int | buffers,
|  | const ColourValue & | colour = ColourValue::Black,
|  | Real | depth = 1.0f,
|  | unsigned short | stencil = 0
| ) | `[virtual]`

See RenderSystem.

Implements Ogre::RenderSystem.

Definition at line 2633 of file OgreD3D7RenderSystem.cpp.

References Except, Ogre::FBT_COLOUR, Ogre::FBT_DEPTH, Ogre::FBT_STENCIL, Ogre::ColourValue::getAsLongARGB(), getErrorDescription(), Ogre::RenderSystemCapabilities::hasCapability(), Ogre::RenderSystem::mCapabilities, mlpD3DDevice, Ogre::Real, Ogre::RSC_HWSTENCIL, and Ogre::String.

Referenced by _beginFrame().

void Ogre::D3DRenderSystem::convertColourValue | ( | const ColourValue & | colour,
|  | unsigned long * | pDest
| ) | `[virtual]`

| See RenderSystem. Implements Ogre::RenderSystem. Definition at line 2254 of file OgreD3D7RenderSystem.cpp. References Ogre::ColourValue::getAsLongARGB().

D3DCMPFUNC Ogre::D3DRenderSystem::convertCompareFunction | ( | CompareFunction | func | ) | `[private]`

| Definition at line 2423 of file OgreD3D7RenderSystem.cpp. References Ogre::CMPF_ALWAYS_FAIL, Ogre::CMPF_ALWAYS_PASS, Ogre::CMPF_EQUAL, Ogre::CMPF_GREATER, Ogre::CMPF_GREATER_EQUAL, Ogre::CMPF_LESS, Ogre::CMPF_LESS_EQUAL, Ogre::CMPF_NOT_EQUAL, and Ogre::CompareFunction. Referenced by _setAlphaRejectSettings(), _setDepthBufferFunction(), and setStencilBufferParams().

Matrix4 Ogre::D3DRenderSystem::convertD3DMatrix | ( | const D3DMATRIX & | mat | ) | `[private]`

| Definition at line 765 of file OgreD3D7RenderSystem.cpp. References Ogre::Matrix4::m.

D3DSTENCILOP Ogre::D3DRenderSystem::convertStencilOp | ( | StencilOperation | op | ) | `[private]`

| Definition at line 2448 of file OgreD3D7RenderSystem.cpp. References Ogre::SOP_DECREMENT, Ogre::SOP_DECREMENT_WRAP, Ogre::SOP_INCREMENT, Ogre::SOP_INCREMENT_WRAP, Ogre::SOP_INVERT, Ogre::SOP_KEEP, Ogre::SOP_REPLACE, Ogre::SOP_ZERO, and Ogre::StencilOperation. Referenced by setStencilBufferParams().

HardwareOcclusionQuery * Ogre::D3DRenderSystem::createHardwareOcclusionQuery | ( | void |  | ) |

| See RenderSystem. Definition at line 2752 of file OgreD3D7RenderSystem.cpp.

RenderTexture * Ogre::D3DRenderSystem::createRenderTexture | ( | const String & | name,
|  | unsigned int | width,
|  | unsigned int | height
| ) | `[virtual]`

Creates and registers a render texture object.

Parameters:

  name | The name for the new render texture. Note that names must be unique.
  width | The requested width for the render texture. See Remarks for more info.
  height | The requested width for the render texture. See Remarks for more info.

Returns:
  On succes, a pointer to a new platform-dependernt, RenderTexture-derived class is returned. On failiure, NULL is returned.

Remarks:
  Because a render texture is basically a wrapper around a texture object, the width and height parameters of this method just hint the preferred size for the texture. Depending on the hardware driver or the underlying API, these values might change when the texture is created.

Implements Ogre::RenderSystem.

Definition at line 616 of file OgreD3D7RenderSystem.cpp.

References Ogre::RenderSystem::attachRenderTarget(), and Ogre::String.

RenderWindow * Ogre::D3DRenderSystem::createRenderWindow | ( | const String & | name,
|  | unsigned int | width,
|  | unsigned int | height,
|  | unsigned int | colourDepth,
|  | bool | fullScreen,
|  | int | left = 0,
|  | int | top = 0,
|  | bool | depthBuffer = true,
|  | RenderWindow * | parentWindowHandle = 0
| ) | `[virtual]`

See RenderSystem.

Implements Ogre::RenderSystem.

Definition at line 535 of file OgreD3D7RenderSystem.cpp.

References Ogre::RenderSystem::attachRenderTarget(), Ogre::RenderWindow::create(), Except, Ogre::RenderTarget::getCustomAttribute(), Ogre::RenderSystemCapabilities::log(), mActiveDDDriver, Ogre::RenderSystem::mCapabilities, mD3DDeviceDesc, mhInstance, mlpD3DDevice, Ogre::RenderSystem::mRenderTargets, Ogre::RenderSystem::mTextureManager, OgreGuard, OgreUnguardRet, Ogre::RSC_ANISOTROPY, Ogre::RSC_BLENDING, Ogre::RSC_CUBEMAPPING, Ogre::RSC_DOT3, Ogre::RSC_HWSTENCIL, Ogre::RSC_STENCIL_WRAP, Ogre::RenderSystemCapabilities::setCapability(), Ogre::RenderSystemCapabilities::setNumTextureUnits(), Ogre::RenderSystemCapabilities::setStencilBufferBitDepth(), and Ogre::String.

Referenced by initialise().

void Ogre::RenderSystem::destroyRenderTarget | ( | const String & | name | ) | `[virtual, inherited]`

| Destroys a render target of any sort. Definition at line 128 of file OgreRenderSystem.cpp. References Ogre::RenderSystem::detachRenderTarget(), and Ogre::String. Referenced by Ogre::RenderSystem::destroyRenderTexture(), and Ogre::RenderSystem::destroyRenderWindow().

void Ogre::RenderSystem::destroyRenderTexture | ( | const String & | name | ) | `[virtual, inherited]`

| Destroys a render texture. Definition at line 123 of file OgreRenderSystem.cpp. References Ogre::RenderSystem::destroyRenderTarget(), and Ogre::String. Referenced by Ogre::SceneManager::createShadowTextures().

void Ogre::RenderSystem::destroyRenderWindow | ( | const String & | name | ) | `[virtual, inherited]`

| Don't do this anymore, just allow via Root RenderSystem* regPtr = Root::getSingleton().getRenderSystem(); if (!regPtr || regPtr != this) Register self - library user has come to me direct Root::getSingleton().setRenderSystem(this);. Definition at line 118 of file OgreRenderSystem.cpp. References Ogre::RenderSystem::destroyRenderTarget(), and Ogre::String.

void Ogre::D3DRenderSystem::destroyRenderWindow | ( | RenderWindow * | pWin | ) |

| See RenderSystem.

RenderTarget * Ogre::RenderSystem::detachRenderTarget | ( | const String & | name | ) | `[virtual, inherited]`

Detaches the render target with the passed name from the render system and returns a pointer to it.

Note:
  If the render target cannot be found, NULL is returned.

Definition at line 158 of file OgreRenderSystem.cpp.

References Ogre::RenderSystem::mPrioritisedRenderTargets, Ogre::RenderSystem::mRenderTargets, and Ogre::String.

Referenced by Ogre::RenderSystem::destroyRenderTarget(), and Ogre::Root::detachRenderTarget().

void Ogre::D3DRenderSystem::enableClipPlane | ( | ushort | index,
|  | bool | enable
| ) | `[virtual]`

| Enable the clipping plane. Implements Ogre::RenderSystem. Definition at line 2745 of file OgreD3D7RenderSystem.cpp. References __SetRenderState(), mlpD3DDevice, and Ogre::ushort.

const RenderSystemCapabilities* Ogre::RenderSystem::getCapabilities | ( | void |  | ) | const`[inherited]`

Gets the capabilities of the render system.

Definition at line 761 of file OgreRenderSystem.h.

Referenced by Ogre::SceneManager::_renderScene(), Ogre::SceneManager::initShadowVolumeMaterials(), Ogre::VertexData::prepareForShadowVolume(), Ogre::SceneManager::renderShadowVolumesToStencil(), Ogre::SceneManager::setShadowTechnique(), Ogre::TerrainSceneManager::setupTerrainMaterial(), and Ogre::TerrainSceneManager::setUseLODMorph().

ConfigOptionMap & Ogre::D3DRenderSystem::getConfigOptions | ( | void |  | ) | `[virtual]`

| See RenderSystem. Implements Ogre::RenderSystem. Definition at line 244 of file OgreD3D7RenderSystem.cpp. References Ogre::ConfigOptionMap, and mOptions.

DDDriverList * Ogre::D3DRenderSystem::getDirectDrawDrivers | ( | void |  | ) | `[private]`

| Definition at line 2184 of file OgreD3D7RenderSystem.cpp. References mDriverList. Referenced by initConfigOptions(), initialise(), refreshDDSettings(), and validateConfigOptions().

String Ogre::D3DRenderSystem::getErrorDescription | ( | long | errorNumber | ) | const`[virtual]`

| See RenderSystem. Implements Ogre::RenderSystem. Definition at line 1740 of file OgreD3D7RenderSystem.cpp. References Ogre::String. Referenced by clearFrameBuffer().

Real Ogre::D3DRenderSystem::getHorizontalTexelOffset | ( | void |  | ) | `[virtual]`

Returns the horizontal texel offset value required for mapping texel origins to pixel origins in this rendersystem.

Remarks:
  Since rendersystems sometimes disagree on the origin of a texel, mapping from texels to pixels can sometimes be problematic to implement generically. This method allows you to retrieve the offset required to map the origin of a texel to the origin of a pixel in the horizontal direction.

Implements Ogre::RenderSystem.

Definition at line 2773 of file OgreD3D7RenderSystem.cpp.

References Ogre::Real.

Real Ogre::D3DRenderSystem::getMaximumDepthInputValue | ( | void |  | ) | `[virtual]`

Gets the maximum (farthest) depth value to be used when rendering using identity transforms.

Remarks:
  When using identity transforms you can manually set the depth of a vertex; however the input values required differ per rendersystem. This method lets you retrieve the correct value.

See also:
  Renderable::useIdentityView, Renderable::useIdentityProjection

Implements Ogre::RenderSystem.

Definition at line 2827 of file OgreD3D7RenderSystem.cpp.

References Ogre::Real.

Real Ogre::D3DRenderSystem::getMinimumDepthInputValue | ( | void |  | ) | `[virtual]`

Gets the minimum (closest) depth value to be used when rendering using identity transforms.

Remarks:
  When using identity transforms you can manually set the depth of a vertex; however the input values required differ per rendersystem. This method lets you retrieve the correct value.

See also:
  Renderable::useIdentityView, Renderable::useIdentityProjection

Implements Ogre::RenderSystem.

Definition at line 2821 of file OgreD3D7RenderSystem.cpp.

References Ogre::Real.

const String & Ogre::D3DRenderSystem::getName | ( | void |  | ) | const`[virtual]`

| See RenderSystem. Implements Ogre::RenderSystem. Definition at line 114 of file OgreD3D7RenderSystem.cpp. References Ogre::String. Referenced by D3DRenderSystem(), and ~D3DRenderSystem().

RenderTarget * Ogre::RenderSystem::getRenderTarget | ( | const String & | name | ) | `[virtual, inherited]`

| Returns a pointer to the render target with the passed name, or NULL if that render target cannot be found. Definition at line 144 of file OgreRenderSystem.cpp. References Ogre::RenderSystem::mRenderTargets, and Ogre::String. Referenced by Ogre::Root::getRenderTarget().

Real Ogre::D3DRenderSystem::getVerticalTexelOffset | ( | void |  | ) | `[virtual]`

Returns the vertical texel offset value required for mapping texel origins to pixel origins in this rendersystem.

Remarks:
  Since rendersystems sometimes disagree on the origin of a texel, mapping from texels to pixels can sometimes be problematic to implement generically. This method allows you to retrieve the offset required to map the origin of a texel to the origin of a pixel in the vertical direction.

Implements Ogre::RenderSystem.

Definition at line 2779 of file OgreD3D7RenderSystem.cpp.

References Ogre::Real.

bool Ogre::RenderSystem::getWaitForVerticalBlank | ( | void |  | ) | const`[inherited]`

| Returns true if the system is synchronising frames with the monitor vertical blank. Definition at line 300 of file OgreRenderSystem.cpp. References Ogre::RenderSystem::mVSync.

bool Ogre::RenderSystem::getWBufferEnabled | ( | void |  | ) | const`[inherited]`

| Returns true if the renderer will try to use W-buffers when avalible. Definition at line 309 of file OgreRenderSystem.cpp. References Ogre::RenderSystem::mWBuffer.

void Ogre::D3DRenderSystem::initConfigOptions | ( | void |  | ) | `[private]`

Definition at line 121 of file OgreD3D7RenderSystem.cpp.

References Ogre::DDDriverList::count(), Ogre::_ConfigOption::currentValue, Ogre::DDDriver::DriverDescription(), getDirectDrawDrivers(), Ogre::_ConfigOption::immutable, Ogre::DDDriverList::item(), mOptions, Ogre::_ConfigOption::name, OgreGuard, OgreUnguard, Ogre::_ConfigOption::possibleValues, and refreshDDSettings().

Referenced by D3DRenderSystem().

RenderWindow * Ogre::D3DRenderSystem::initialise | ( | bool | autoCreateWindow,
|  | const String & | windowTitle = "OGRE Render Window"
| ) | `[virtual]`

See RenderSystem.

Reimplemented from Ogre::RenderSystem.

Definition at line 336 of file OgreD3D7RenderSystem.cpp.

References Ogre::DDVideoModeList::count(), Ogre::DDDriverList::count(), createRenderWindow(), Ogre::DDVideoMode::Description(), Ogre::DDDriver::DriverDescription(), Except, Ogre::RenderTarget::getColourDepth(), getDirectDrawDrivers(), Ogre::DDDriver::getVideoModeList(), Ogre::DDVideoModeList::item(), Ogre::DDDriverList::item(), mActiveDDDriver, Ogre::DDVideoMode::mColourDepth, mGpuProgramManager, mHardwareBufferManager, Ogre::DDVideoMode::mHeight, mOptions, Ogre::RenderSystem::mWBuffer, Ogre::DDVideoMode::mWidth, Ogre::RenderSystem::setWaitForVerticalBlank(), and Ogre::String.

Referenced by reinitialise().

void Ogre::D3DRenderSystem::initInputDevices | ( | void |  | ) | `[private]`

D3DMATRIX Ogre::D3DRenderSystem::makeD3DMatrix | ( | const Matrix4 & | mat | ) | `[private]`

| Definition at line 735 of file OgreD3D7RenderSystem.cpp. References Ogre::Matrix4::m. Referenced by _setProjectionMatrix(), _setTextureMatrix(), _setViewMatrix(), and _setWorldMatrix().

void Ogre::D3DRenderSystem::processInputDevices | ( | void |  | ) | `[private]`

void Ogre::D3DRenderSystem::refreshDDSettings | ( | void |  | ) | `[private]`

Definition at line 191 of file OgreD3D7RenderSystem.cpp.

References Ogre::DDDriver::CanRenderWindowed(), Ogre::DDVideoModeList::count(), Ogre::DDDriverList::count(), Ogre::DDVideoMode::Description(), Ogre::DDDriver::DriverDescription(), getDirectDrawDrivers(), Ogre::DDDriver::getVideoModeList(), Ogre::_ConfigOption::immutable, Ogre::DDVideoModeList::item(), Ogre::DDDriverList::item(), mOptions, OgreGuard, OgreUnguard, Ogre::_ConfigOption::possibleValues, and setConfigOption().

Referenced by initConfigOptions(), and setConfigOption().

void Ogre::D3DRenderSystem::reinitialise | ( | void |  | ) | `[virtual]`

| See RenderSystem. Implements Ogre::RenderSystem. Definition at line 465 of file OgreD3D7RenderSystem.cpp. References initialise(), and shutdown().

void Ogre::D3DRenderSystem::setAmbientLight | ( | float | r,
|  | float | g,
|  | float | b
| ) | `[virtual]`

| See RenderSystem. Implements Ogre::RenderSystem. Definition at line 499 of file OgreD3D7RenderSystem.cpp. References __SetRenderState(), and Except.

void Ogre::RenderSystem::setClipPlane | ( | ushort | index,
|  | const Plane & | p
| ) | `[virtual, inherited]`

| Set a clipping plane. Definition at line 392 of file OgreRenderSystem.cpp. References Ogre::Plane::d, Ogre::Plane::normal, Ogre::ushort, Ogre::Vector3::x, Ogre::Vector3::y, and Ogre::Vector3::z. Referenced by Ogre::SceneManager::_renderScene().

void Ogre::D3DRenderSystem::setClipPlane | ( | ushort | index,
|  | Real | A,
|  | Real | B,
|  | Real | C,
|  | Real | D
| ) | `[virtual]`

| Set a clipping plane. Implements Ogre::RenderSystem. Definition at line 2738 of file OgreD3D7RenderSystem.cpp. References mlpD3DDevice, Ogre::Real, and Ogre::ushort.

void Ogre::D3DRenderSystem::setClipPlanes | ( | const PlaneList & | clipPlanes | ) | `[virtual]`

| See RenderSystem. Implements Ogre::RenderSystem. Definition at line 2701 of file OgreD3D7RenderSystem.cpp. References Ogre::Plane::d, Except, mlpD3DDevice, Ogre::Plane::normal, Ogre::PlaneList, Ogre::Vector3::x, Ogre::Vector3::y, and Ogre::Vector3::z.

void Ogre::D3DRenderSystem::setConfigOption | ( | const String & | name,
|  | const String & | value
| ) | `[virtual]`

| See RenderSystem. Implements Ogre::RenderSystem. Definition at line 252 of file OgreD3D7RenderSystem.cpp. References Except, mOptions, OgreGuard, OgreUnguard, refreshDDSettings(), and Ogre::String. Referenced by refreshDDSettings(), and validateConfigOptions().

void Ogre::D3DRenderSystem::setD3DLight | ( | size_t | index,
|  | Light * | light
| ) | `[private]`

Definition at line 645 of file OgreD3D7RenderSystem.cpp.

References Ogre::ColourValue::a, Ogre::ColourValue::b, Except, Ogre::ColourValue::g, Ogre::Light::getAttenuationConstant(), Ogre::Light::getAttenuationLinear(), Ogre::Light::getAttenuationQuadric(), Ogre::Light::getAttenuationRange(), Ogre::Light::getDerivedDirection(), Ogre::Light::getDerivedPosition(), Ogre::Light::getDiffuseColour(), Ogre::Light::getSpecularColour(), Ogre::Light::getSpotlightFalloff(), Ogre::Light::getSpotlightInnerAngle(), Ogre::Light::getSpotlightOuterAngle(), Ogre::Light::getType(), mlpD3DDevice, Ogre::ColourValue::r, Ogre::Radian::valueRadians(), Ogre::Vector3::x, Ogre::Vector3::y, and Ogre::Vector3::z.

Referenced by _useLights().

void Ogre::RenderSystem::setInvertVertexWinding | ( | bool | invert | ) | `[virtual, inherited]`

| Sets whether or not vertex windings set should be inverted; this can be important for rendering reflections. Definition at line 387 of file OgreRenderSystem.cpp. References Ogre::RenderSystem::mInvertVertexWinding. Referenced by Ogre::SceneManager::_renderScene().

void Ogre::D3DRenderSystem::setLightingEnabled | ( | bool | enabled | ) | `[virtual]`

| See RenderSystem. Implements Ogre::RenderSystem. Definition at line 2194 of file OgreD3D7RenderSystem.cpp. References __SetRenderState(), and Except.

void Ogre::D3DRenderSystem::setNormaliseNormals | ( | bool | normalise | ) | `[virtual]`

| See RenderSystem. Implements Ogre::RenderSystem. Definition at line 2600 of file OgreD3D7RenderSystem.cpp. References __SetRenderState().

void Ogre::D3DRenderSystem::setScissorTest | ( | bool | enabled,
|  | size_t | left = 0,
|  | size_t | top = 0,
|  | size_t | right = 800,
|  | size_t | bottom = 600
| ) | `[virtual]`

| See RenderSystem. Implements Ogre::RenderSystem. Definition at line 407 of file OgreD3D7RenderSystem.h.

void Ogre::D3DRenderSystem::setShadingType | ( | ShadeOptions | so | ) | `[virtual]`

| See RenderSystem. Implements Ogre::RenderSystem. Definition at line 510 of file OgreD3D7RenderSystem.cpp. References __SetRenderState(), Except, Ogre::ShadeOptions, Ogre::SO_FLAT, Ogre::SO_GOURAUD, and Ogre::SO_PHONG.

void Ogre::D3DRenderSystem::setStencilBufferParams | ( | CompareFunction | func = CMPF_ALWAYS_PASS,
|  | ulong | refValue = 0,
|  | ulong | mask = 0xFFFFFFFF,
|  | StencilOperation | stencilFailOp = SOP_KEEP,
|  | StencilOperation | depthFailOp = SOP_KEEP,
|  | StencilOperation | passOp = SOP_KEEP,
|  | bool | twoSidedOperation = false
| ) | `[virtual]`

| See RenderSystem. Implements Ogre::RenderSystem. Definition at line 2369 of file OgreD3D7RenderSystem.cpp. References __SetRenderState(), Ogre::CompareFunction, convertCompareFunction(), convertStencilOp(), Except, Ogre::StencilOperation, and Ogre::ulong.

void Ogre::D3DRenderSystem::setStencilCheckEnabled | ( | bool | enabled | ) | `[virtual]`

| See RenderSystem. Implements Ogre::RenderSystem. Definition at line 2359 of file OgreD3D7RenderSystem.cpp. References __SetRenderState(), and Except.

void Ogre::D3DRenderSystem::setVertexBufferBinding | ( | VertexBufferBinding * | binding | ) | `[virtual]`

| See RenderSystem. Implements Ogre::RenderSystem. Definition at line 2501 of file OgreD3D7RenderSystem.cpp.

void Ogre::D3DRenderSystem::setVertexDeclaration | ( | VertexDeclaration * | decl | ) | `[virtual]`

| See RenderSystem. Implements Ogre::RenderSystem. Definition at line 2496 of file OgreD3D7RenderSystem.cpp.

void Ogre::RenderSystem::setWaitForVerticalBlank | ( | bool | enabled | ) | `[inherited]`

Defines whether or now fullscreen render windows wait for the vertical blank before flipping buffers.

Remarks:
  By default, all rendering windows wait for a vertical blank (when the CRT beam turns off briefly to move from the bottom right of the screen back to the top left) before flipping the screen buffers. This ensures that the image you see on the screen is steady. However it restricts the frame rate to the refresh rate of the monitor, and can slow the frame rate down. You can speed this up by not waiting for the blank, but this has the downside of introducing 'tearing' artefacts where part of the previous frame is still displayed as the buffers are switched. Speed vs quality, you choose.

Note:
  Has NO effect on windowed mode render targets. Only affects fullscreen mode.

Parameters:

  enabled | If true, the system waits for vertical blanks - quality over speed. If false it doesn't - speed over quality.

Definition at line 305 of file OgreRenderSystem.cpp.

References Ogre::RenderSystem::mVSync.

Referenced by Ogre::Win32GLSupport::createWindow(), and initialise().

void Ogre::RenderSystem::setWBufferEnabled | ( | bool | enabled | ) | `[inherited]`

Sets whether or not W-buffers are enabled if they are avalible for this renderer.

Parameters:

  enabled | If true and the renderer supports them W-buffers will be used. If false W-buffers will not be used even if avalible. W-buffers are enabled by default for 16bit depth buffers and disabled for all other depths.

Definition at line 314 of file OgreRenderSystem.cpp.

References Ogre::RenderSystem::mWBuffer.

void Ogre::D3DRenderSystem::shutdown | ( | void |  | ) | `[virtual]`

| See RenderSystem. Reimplemented from Ogre::RenderSystem. Definition at line 473 of file OgreD3D7RenderSystem.cpp. References Ogre::DDDriver::Cleanup(), mActiveDDDriver, mDriverList, and SAFE_DELETE. Referenced by reinitialise(), and ~D3DRenderSystem().

void Ogre::D3DRenderSystem::unbindGpuProgram | ( | GpuProgramType | gptype | ) | `[virtual]`

| See RenderSystem. Implements Ogre::RenderSystem. Definition at line 395 of file OgreD3D7RenderSystem.h. References Ogre::GpuProgramType.

String Ogre::D3DRenderSystem::validateConfigOptions | ( | void |  | ) | `[virtual]`

| See RenderSystem. Implements Ogre::RenderSystem. Definition at line 300 of file OgreD3D7RenderSystem.cpp. References Ogre::DDDriverList::count(), Ogre::DDDriver::DriverDescription(), getDirectDrawDrivers(), Ogre::DDDriverList::item(), mOptions, setConfigOption(), Ogre::String, and Ogre::ushort.

## Member Data Documentation

DDDriver* Ogre::D3DRenderSystem::mActiveDDDriver`[private]`

| Definition at line 57 of file OgreD3D7RenderSystem.h. Referenced by createRenderWindow(), D3DRenderSystem(), initialise(), and shutdown().

RenderTarget* Ogre::RenderSystem::mActiveRenderTarget`[protected, inherited]`

The Active render target.

Definition at line 873 of file OgreRenderSystem.h.

Referenced by Ogre::GLRenderSystem::_setCullingMode(), Ogre::D3D9RenderSystem::_setCullingMode(), _setCullingMode(), Ogre::GLRenderSystem::_setProjectionMatrix(), Ogre::D3D9RenderSystem::_setProjectionMatrix(), _setProjectionMatrix(), Ogre::GLRenderSystem::_setViewport(), Ogre::D3D9RenderSystem::_setViewport(), _setViewport(), Ogre::GLRenderSystem::GLRenderSystem(), Ogre::RenderSystem::RenderSystem(), and Ogre::GLRenderSystem::setScissorTest().

Viewport* Ogre::RenderSystem::mActiveViewport`[protected, inherited]`

| Definition at line 885 of file OgreRenderSystem.h. Referenced by Ogre::GLRenderSystem::_beginFrame(), Ogre::D3D9RenderSystem::_beginFrame(), _beginFrame(), Ogre::RenderSystem::_getViewport(), Ogre::GLRenderSystem::_setViewport(), Ogre::D3D9RenderSystem::_setViewport(), _setViewport(), Ogre::RenderSystem::RenderSystem(), and Ogre::GLRenderSystem::setScissorTest().

RenderSystemCapabilities* Ogre::RenderSystem::mCapabilities`[protected, inherited]`

Used to store the capabilities of the graphics card.

Definition at line 882 of file OgreRenderSystem.h.

Referenced by Ogre::RenderSystem::_disableTextureUnitsFrom(), Ogre::GLRenderSystem::_render(), Ogre::GLRenderSystem::_setTextureBlendMode(), Ogre::GLRenderSystem::_setTextureLayerAnisotropy(), Ogre::D3D9RenderSystem::clearFrameBuffer(), clearFrameBuffer(), Ogre::D3D9RenderSystem::convertPixelShaderCaps(), Ogre::D3D9RenderSystem::convertVertexShaderCaps(), createRenderWindow(), Ogre::D3D9RenderSystem::initCapabilities(), Ogre::GLRenderSystem::initGL(), Ogre::RenderSystem::RenderSystem(), Ogre::GLRenderSystem::setStencilBufferParams(), Ogre::D3D9RenderSystem::setStencilBufferParams(), Ogre::D3D9RenderSystem::~D3D9RenderSystem(), ~D3DRenderSystem(), and Ogre::GLRenderSystem::~GLRenderSystem().

CullingMode Ogre::RenderSystem::mCullingMode`[protected, inherited]`

| Definition at line 887 of file OgreRenderSystem.h. Referenced by Ogre::RenderSystem::_getCullingMode(), _setCullingMode(), Ogre::D3D9RenderSystem::_setViewport(), _setViewport(), Ogre::GLRenderSystem::initialise(), and Ogre::RenderSystem::RenderSystem().

unsigned short Ogre::D3DRenderSystem::mCurrentLights`[private]`

| Definition at line 143 of file OgreD3D7RenderSystem.h. Referenced by _useLights(), and D3DRenderSystem().

D3DDEVICEDESC7 Ogre::D3DRenderSystem::mD3DDeviceDesc`[private]`

| Definition at line 51 of file OgreD3D7RenderSystem.h. Referenced by _getFilter(), _setDepthBufferCheckEnabled(), _setFog(), _setTextureBlendMode(), _setTextureLayerAnisotropy(), and createRenderWindow().

DDDriverList* Ogre::D3DRenderSystem::mDriverList`[private]`

| Definition at line 55 of file OgreD3D7RenderSystem.h. Referenced by D3DRenderSystem(), getDirectDrawDrivers(), shutdown(), and ~D3DRenderSystem().

size_t Ogre::RenderSystem::mFaceCount`[protected, inherited]`

| Definition at line 892 of file OgreRenderSystem.h. Referenced by Ogre::RenderSystem::_beginGeometryCount(), and Ogre::RenderSystem::_render().

GpuProgramManager* Ogre::D3DRenderSystem::mGpuProgramManager`[private]`

| Definition at line 140 of file OgreD3D7RenderSystem.h. Referenced by D3DRenderSystem(), initialise(), and ~D3DRenderSystem().

HardwareBufferManager* Ogre::D3DRenderSystem::mHardwareBufferManager`[private]`

| Definition at line 139 of file OgreD3D7RenderSystem.h. Referenced by D3DRenderSystem(), initialise(), and ~D3DRenderSystem().

HINSTANCE Ogre::D3DRenderSystem::mhInstance`[private]`

| Definition at line 60 of file OgreD3D7RenderSystem.h. Referenced by createRenderWindow(), and D3DRenderSystem().

bool Ogre::RenderSystem::mInvertVertexWinding`[protected, inherited]`

| Definition at line 898 of file OgreRenderSystem.h. Referenced by Ogre::GLRenderSystem::_setCullingMode(), Ogre::D3D9RenderSystem::_setCullingMode(), _setCullingMode(), Ogre::RenderSystem::RenderSystem(), and Ogre::RenderSystem::setInvertVertexWinding().

LPDIRECT3DDEVICE7 Ogre::D3DRenderSystem::mlpD3DDevice`[private]`

Definition at line 50 of file OgreD3D7RenderSystem.h.

Referenced by __SetRenderState(), __SetTextureStageState(), _beginFrame(), _endFrame(), _getCurrentAnisotropy(), _render(), _setProjectionMatrix(), _setSurfaceParams(), _setTexture(), _setTextureMatrix(), _setViewMatrix(), _setViewport(), _setWorldMatrix(), clearFrameBuffer(), createRenderWindow(), D3DRenderSystem(), enableClipPlane(), setClipPlane(), setClipPlanes(), and setD3DLight().

ConfigOptionMap Ogre::D3DRenderSystem::mOptions`[private]`

| Definition at line 65 of file OgreD3D7RenderSystem.h. Referenced by getConfigOptions(), initConfigOptions(), initialise(), refreshDDSettings(), setConfigOption(), and validateConfigOptions().

RenderTargetPriorityMap Ogre::RenderSystem::mPrioritisedRenderTargets`[protected, inherited]`

| The render targets, ordered by priority. Definition at line 871 of file OgreRenderSystem.h. Referenced by Ogre::RenderSystem::_updateAllRenderTargets(), Ogre::RenderSystem::attachRenderTarget(), Ogre::RenderSystem::detachRenderTarget(), and Ogre::RenderSystem::shutdown().

RenderTargetMap Ogre::RenderSystem::mRenderTargets`[protected, inherited]`

The render targets.

Definition at line 869 of file OgreRenderSystem.h.

Referenced by Ogre::RenderSystem::_initRenderTargets(), Ogre::RenderSystem::_notifyCameraRemoved(), Ogre::RenderSystem::attachRenderTarget(), Ogre::GLRenderSystem::createRenderWindow(), Ogre::D3D9RenderSystem::createRenderWindow(), createRenderWindow(), Ogre::GLRenderSystem::destroyRenderWindow(), Ogre::D3D9RenderSystem::destroyRenderWindow(), Ogre::RenderSystem::detachRenderTarget(), Ogre::RenderSystem::getRenderTarget(), Ogre::GLRenderSystem::resizeRepositionWindow(), Ogre::D3D9RenderSystem::ResizeRepositionWindow(), Ogre::RenderSystem::shutdown(), and Ogre::GLRenderSystem::~GLRenderSystem().

SceneBlendFactor Ogre::D3DRenderSystem::mSavedDestFactor`[private]`

| Definition at line 146 of file OgreD3D7RenderSystem.h. Referenced by _setColourBufferWriteEnabled(), and _setSceneBlending().

SceneBlendFactor Ogre::D3DRenderSystem::mSavedSrcFactor`[private]`

| Definition at line 146 of file OgreD3D7RenderSystem.h. Referenced by _setColourBufferWriteEnabled(), and _setSceneBlending().

struct Ogre::D3DRenderSystem::sD3DTextureStageDesc Ogre::D3DRenderSystem::mTexStageDesc[OGRE_MAX_TEXTURE_LAYERS]`[private]`

| structure holding texture unit settings for every stage Referenced by _setTexture(), _setTextureCoordCalculation(), _setTextureCoordSet(), _setTextureMatrix(), and D3DRenderSystem().

TextureManager* Ogre::RenderSystem::mTextureManager`[protected, inherited]`

| Definition at line 879 of file OgreRenderSystem.h. Referenced by Ogre::GLRenderSystem::createRenderWindow(), Ogre::D3D9RenderSystem::createRenderWindow(), createRenderWindow(), Ogre::D3D9RenderSystem::D3D9RenderSystem(), Ogre::RenderSystem::RenderSystem(), Ogre::D3D9RenderSystem::~D3D9RenderSystem(), ~D3DRenderSystem(), and Ogre::GLRenderSystem::~GLRenderSystem().

size_t Ogre::RenderSystem::mVertexCount`[protected, inherited]`

| Definition at line 893 of file OgreRenderSystem.h. Referenced by Ogre::RenderSystem::_beginGeometryCount(), and Ogre::RenderSystem::_render().

Matrix4 Ogre::D3DRenderSystem::mViewMatrix`[private]`

| Definition at line 144 of file OgreD3D7RenderSystem.h. Referenced by _setTextureMatrix(), and _setViewMatrix().

bool Ogre::RenderSystem::mVSync`[protected, inherited]`

| Definition at line 889 of file OgreRenderSystem.h. Referenced by Ogre::GLRenderSystem::createRenderWindow(), Ogre::D3D9RenderSystem::createRenderWindow(), Ogre::RenderSystem::getWaitForVerticalBlank(), Ogre::RenderSystem::RenderSystem(), Ogre::D3D9RenderSystem::setConfigOption(), Ogre::RenderSystem::setWaitForVerticalBlank(), and Ogre::D3D9RenderSystem::validateConfigOptions().

bool Ogre::RenderSystem::mWBuffer`[protected, inherited]`

| Definition at line 890 of file OgreRenderSystem.h. Referenced by Ogre::D3D9RenderSystem::_setDepthBufferCheckEnabled(), _setDepthBufferCheckEnabled(), Ogre::RenderSystem::getWBufferEnabled(), Ogre::D3D9RenderSystem::initialise(), initialise(), Ogre::RenderSystem::RenderSystem(), and Ogre::RenderSystem::setWBufferEnabled().

Matrix4 Ogre::RenderSystem::mWorldMatrices[256]`[protected, inherited]`

| Saved set of world matrices. Definition at line 896 of file OgreRenderSystem.h. Referenced by Ogre::RenderSystem::_setWorldMatrices().

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

- OgreD3D7RenderSystem.h
- OgreD3D7RenderSystem.cpp

Copyright © 2002-2003 by The OGRE Team
Last modified Sun Nov 28 19:49:30 2004