# Ogre::D3DRenderSystem Class Reference

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

`#include <OgreD3D7RenderSystem.h>`

Inheritance diagram for Ogre::D3DRenderSystem:

List of all members.

## Public Types

typedef MapIterator< Ogre::RenderTargetMap > | RenderTargetIterator
| Iterator over RenderTargets.

## Public Member Functions

| 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, bool fullScreen, const NameValuePairList *miscParams=0)

Remarks:
  This method creates a new rendering window as specified by the paramteters. The rendering system could be responible for only a single window (e.g. in the case of a game), or could be in charge of multiple ones (in the case of a level editor). The option to create the window as a child of another is therefore given. This method will create an appropriate subclass of RenderWindow depending on the API and platform implementation.

  After creation, this window can be retrieved using getRenderTarget().

Parameters:

  name | The name of the window. Used in other methods later like setRenderTarget and getRenderWindow.
  width | The width of the new window.
  height | The height of the new window.
  fullScreen | Specify true to make the window full screen without borders, title bar or menu bar.
  miscParams | A NameValuePairList describing the other parameters for the new rendering window. Options are case sensitive. Unrecognised parameters will be ignored silently. These values might be platform dependent, but these are present for all platorms unless indicated otherwise:

Key: "title" Description: The title of the window that will appear in the title bar Values: string Default: RenderTarget name

Key: "colourDepth" Description: Colour depth of the resulting rendering window; only applies if fullScreen is set. Values: 16 or 32 Default: desktop depth Notes: [W32 specific]

Key: "left" Description: screen x coordinate from left Values: positive integers Default: 'center window on screen' Notes: Ignored in case of full screen

Key: "top" Description: screen y coordinate from top Values: positive integers Default: 'center window on screen' Notes: Ignored in case of full screen

Key: "depthBuffer" [DX9 specific] Description: Use depth buffer Values: false or true Default: true

Key: "externalWindowHandle" [API specific] Description: External window handle, for embedding the OGRE context Values: positive integer for W32 (HWND handle) poslong:posint:poslong (display*:screen:windowHandle) or poslong:posint:poslong:poslong (display*:screen:windowHandle:XVisualInfo*) for GLX Default: 0 (None)

Key: "parentWindowHandle" [API specific] Description: Parent window handle, for embedding the OGRE context Values: positive integer for W32 (HWND handle) poslong:posint:poslong for GLX (display*:screen:windowHandle) Default: 0 (None)

Key: "FSAA" Description: Full screen antialiasing factor Values: 0,2,4,6,... Default: 0

Key: "displayFrequency" Description: Display frequency rate, for fullscreen mode Values: 60...? Default: Desktop vsync rate

Key: "vsync" Description: Synchronize buffer swaps to vsync Values: true, false Default: 0

Key: "border" Description: The type of window border (in windowed mode) Values: none, fixed, resize Default: resize

Key: "outerDimensions" Description: Whether the width/height is expressed as the size of the outer window, rather than the content area Values: true, false Default: false

RenderTexture * | createRenderTexture (const String &name, unsigned int width, unsigned int height, TextureType texType=TEX_TYPE_2D, PixelFormat internalFormat=PF_X8R8G8B8, const NameValuePairList *miscParams=0)

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.
  texType | The type of texture; defaults to TEX_TYPE_2D
  internalFormat | The internal format of the texture; defaults to PF_X8R8G8B8
  miscParams | A NameValuePairList describing the other parameters for the new rendering window. Unrecognised parameters will be ignored silently. These values might be platform dependent, but these are present for all platorms unless indicated otherwise:

Key: "FSAA" Description: Full screen antialiasing factor Values: 0,2,4,6,... Default: 0

Key: "depth" Description: Depth in case of render-to-texture TEX_3D Values: positive integers

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. The same applies to the internalFormat parameter.

void | destroyRenderWindow (RenderWindow *pWin)
| See RenderSystem.
String | getErrorDescription (long errorNumber) const
| See RenderSystem.
void | convertColourValue (const ColourValue &colour, uint32 *pDest)
| See RenderSystem.
void | _notifyDeviceLost (void)
| Notify of a device lost.
void | _restoreLostDevice (void)
| Attempt to restore a device.
void | _restoreSurfaces (void)
| Restore all surfaces.
void | _recreateContext (void)
| Recreate the primary context.
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, TrackVertexColourType tracking)
| 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, uint32 refValue=0, uint32 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.
virtual void | destroyHardwareOcclusionQuery (HardwareOcclusionQuery *hq)
| Destroy a hardware occlusion query object.
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)
| Destroys a render window.
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.
virtual RenderTargetIterator | getRenderTargetIterator (void)
| Returns a specialised MapIterator over all render targets attached to the RenderSystem.
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.
virtual void | addListener (Listener *l)
| Adds a listener to the custom events that this render system can raise.
virtual void | removeListener (Listener *l)
| Remove a listener to the custom events that this render system can raise.
virtual const StringVector & | getRenderSystemEvents (void) const
| Gets a list of the rendersystem specific events that this rendersystem can raise.

## Protected Types

typedef std::list< Listener * > | ListenerList
typedef std::list< HardwareOcclusionQuery * > | HardwareOcclusionQueryList

## Protected Member Functions

virtual void | fireEvent (const String &name, const NameValuePairList *params=0)
| Internal method for firing a rendersystem event.

## 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.
ColourValue | mManualBlendColours [OGRE_MAX_TEXTURE_LAYERS][2]
| Saved manual colour blends.
bool | mInvertVertexWinding
StringVector | mEventNames
| List of names of events this rendersystem may raise.
ListenerList | mEventListeners
HardwareOcclusionQueryList | mHwOcclusionQueries

## Private Types

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

## Private Member Functions

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
bool | mDeviceLost
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 Typedef Documentation

typedef std::list<HardwareOcclusionQuery*> Ogre::RenderSystem::HardwareOcclusionQueryList `[protected, inherited]`

| Definition at line 1052 of file OgreRenderSystem.h.

typedef std::list<Listener*> Ogre::RenderSystem::ListenerList `[protected, inherited]`

| Definition at line 1049 of file OgreRenderSystem.h.

typedef MapIterator<Ogre::RenderTargetMap> Ogre::RenderSystem::RenderTargetIterator `[inherited]`

| Iterator over RenderTargets. Definition at line 403 of file OgreRenderSystem.h. Referenced by Ogre::RenderSystem::getRenderTargetIterator().

## 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 73 of file OgreD3D7RenderSystem.h.

Referenced by _ogreTexTypeToD3DTexType().

## Constructor & Destructor Documentation

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

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

## Member Function Documentation

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

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

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

| See RenderSystem. Implements Ogre::RenderSystem.

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

| See RenderSystem. Implements Ogre::RenderSystem.

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

| The RenderSystem will keep a count of tris rendered, this resets the count.

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

| Turns off a texture unit.

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

| Disables all texture units from the given unit upwards.

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

| See RenderSystem. Implements Ogre::RenderSystem.

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

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

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

| Reports the number of tris rendered since the last _beginGeometryCount call.

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

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

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

| Reports the number of vertices passed to the renderer since the last _beginGeometryCount call.

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

| Get the current active viewport for rendering.

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

| Utility method for initialising all render targets attached to this rendering system.

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

| See RenderSystem. Implements Ogre::RenderSystem.

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.

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

| See RenderSystem. Implements Ogre::RenderSystem.

virtual 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.

void Ogre::D3DRenderSystem::_notifyDeviceLost | ( | void |  | ) |

| Notify of a device lost.

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

| return the D3DtexType equivalent of a Ogre tex. type Definition at line 84 of file OgreD3D7RenderSystem.h. References D3D_TEX_TYPE_CUBE, D3D_TEX_TYPE_NORMAL, eD3DTexType, OGRE_EXCEPT, Ogre::TEX_TYPE_1D, Ogre::TEX_TYPE_2D, and Ogre::TEX_TYPE_CUBE_MAP.

void Ogre::D3DRenderSystem::_recreateContext | ( | void |  | ) |

| Recreate the primary context.

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

| See RenderSystem. Reimplemented from Ogre::RenderSystem.

void Ogre::D3DRenderSystem::_restoreLostDevice | ( | void |  | ) |

| Attempt to restore a device.

void Ogre::D3DRenderSystem::_restoreSurfaces | ( | void |  | ) |

| Restore all surfaces.

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

| See RenderSystem. Implements Ogre::RenderSystem.

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.

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

| See RenderSystem. Implements Ogre::RenderSystem.

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

| See RenderSystem. Implements Ogre::RenderSystem.

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

| See RenderSystem. Implements Ogre::RenderSystem.

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

| See RenderSystem. Implements Ogre::RenderSystem.

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

| See RenderSystem. Implements Ogre::RenderSystem.

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

| See RenderSystem. Implements Ogre::RenderSystem.

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

| See RenderSystem. Implements Ogre::RenderSystem.

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

| See RenderSystem. Implements Ogre::RenderSystem.

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

| See RenderSystem. Implements Ogre::RenderSystem.

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

| See RenderSystem. Implements Ogre::RenderSystem.

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

| See RenderSystem. Implements Ogre::RenderSystem.

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

| See RenderSystem. Implements Ogre::RenderSystem.

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

| See RenderSystem. Implements Ogre::RenderSystem.

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

| See RenderSystem. Implements Ogre::RenderSystem.

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

| See RenderSystem. Implements Ogre::RenderSystem.

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

| See RenderSystem. Implements Ogre::RenderSystem.

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

| See RenderSystem. Implements Ogre::RenderSystem.

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

| See RenderSystem. Implements Ogre::RenderSystem.

virtual 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

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.

virtual 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.

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

| See RenderSystem. Implements Ogre::RenderSystem.

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

| See RenderSystem. Implements Ogre::RenderSystem.

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

| Sets multiple world matrices (vertex blending).

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

| See RenderSystem. Implements Ogre::RenderSystem.

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

| Internal method for updating all render targets attached to this rendering system.

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

| See RenderSystem. Implements Ogre::RenderSystem.

virtual void Ogre::RenderSystem::addListener | ( | Listener * | l | ) | `[virtual, inherited]`

Adds a listener to the custom events that this render system can raise.

Remarks:
  Some render systems have quite specific, internally generated events that the application may wish to be notified of. Many applications don't have to worry about these events, and can just trust OGRE to handle them, but if you want to know, you can add a listener here.

  Events are raised very generically by string name. Perhaps the most common example of a render system specific event is the loss and restoration of a device in DirectX; which OGRE deals with, but you may wish to know when it happens.

See also:
  RenderSystem::getRenderSystemEvents

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

| Attaches the passed render target to the render system.

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

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

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

| See RenderSystem. Implements Ogre::RenderSystem. Definition at line 410 of file OgreD3D7RenderSystem.h. References Ogre::GpuProgramParametersSharedPtr, 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.

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

| See RenderSystem. Implements Ogre::RenderSystem.

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

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

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

HardwareOcclusionQuery* Ogre::D3DRenderSystem::createHardwareOcclusionQuery | ( | void |  | ) | `[virtual]`

| See RenderSystem. Implements Ogre::RenderSystem.

RenderTexture* Ogre::D3DRenderSystem::createRenderTexture | ( | const String & | name,
|  | unsigned int | width,
|  | unsigned int | height,
|  | TextureType | texType = TEX_TYPE_2D,
|  | PixelFormat | internalFormat = PF_X8R8G8B8,
|  | const NameValuePairList * | miscParams = 0
| ) | `[virtual]`

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.
  texType | The type of texture; defaults to TEX_TYPE_2D
  internalFormat | The internal format of the texture; defaults to PF_X8R8G8B8
  miscParams | A NameValuePairList describing the other parameters for the new rendering window. Unrecognised parameters will be ignored silently. These values might be platform dependent, but these are present for all platorms unless indicated otherwise:

Key: "FSAA" Description: Full screen antialiasing factor Values: 0,2,4,6,... Default: 0

Key: "depth" Description: Depth in case of render-to-texture TEX_3D Values: positive integers

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. The same applies to the internalFormat parameter.

Implements Ogre::RenderSystem.

RenderWindow* Ogre::D3DRenderSystem::createRenderWindow | ( | const String & | name,
|  | unsigned int | width,
|  | unsigned int | height,
|  | bool | fullScreen,
|  | const NameValuePairList * | miscParams = 0
| ) | `[virtual]`

Remarks:
  This method creates a new rendering window as specified by the paramteters. The rendering system could be responible for only a single window (e.g. in the case of a game), or could be in charge of multiple ones (in the case of a level editor). The option to create the window as a child of another is therefore given. This method will create an appropriate subclass of RenderWindow depending on the API and platform implementation.

  After creation, this window can be retrieved using getRenderTarget().

Parameters:

  name | The name of the window. Used in other methods later like setRenderTarget and getRenderWindow.
  width | The width of the new window.
  height | The height of the new window.
  fullScreen | Specify true to make the window full screen without borders, title bar or menu bar.
  miscParams | A NameValuePairList describing the other parameters for the new rendering window. Options are case sensitive. Unrecognised parameters will be ignored silently. These values might be platform dependent, but these are present for all platorms unless indicated otherwise:

Key: "title" Description: The title of the window that will appear in the title bar Values: string Default: RenderTarget name

Key: "colourDepth" Description: Colour depth of the resulting rendering window; only applies if fullScreen is set. Values: 16 or 32 Default: desktop depth Notes: [W32 specific]

Key: "left" Description: screen x coordinate from left Values: positive integers Default: 'center window on screen' Notes: Ignored in case of full screen

Key: "top" Description: screen y coordinate from top Values: positive integers Default: 'center window on screen' Notes: Ignored in case of full screen

Key: "depthBuffer" [DX9 specific] Description: Use depth buffer Values: false or true Default: true

Key: "externalWindowHandle" [API specific] Description: External window handle, for embedding the OGRE context Values: positive integer for W32 (HWND handle) poslong:posint:poslong (display*:screen:windowHandle) or poslong:posint:poslong:poslong (display*:screen:windowHandle:XVisualInfo*) for GLX Default: 0 (None)

Key: "parentWindowHandle" [API specific] Description: Parent window handle, for embedding the OGRE context Values: positive integer for W32 (HWND handle) poslong:posint:poslong for GLX (display*:screen:windowHandle) Default: 0 (None)

Key: "FSAA" Description: Full screen antialiasing factor Values: 0,2,4,6,... Default: 0

Key: "displayFrequency" Description: Display frequency rate, for fullscreen mode Values: 60...? Default: Desktop vsync rate

Key: "vsync" Description: Synchronize buffer swaps to vsync Values: true, false Default: 0

Key: "border" Description: The type of window border (in windowed mode) Values: none, fixed, resize Default: resize

Key: "outerDimensions" Description: Whether the width/height is expressed as the size of the outer window, rather than the content area Values: true, false Default: false

Implements Ogre::RenderSystem.

virtual void Ogre::RenderSystem::destroyHardwareOcclusionQuery | ( | HardwareOcclusionQuery * | hq | ) | `[virtual, inherited]`

| Destroy a hardware occlusion query object.

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

| Destroys a render target of any sort. Reimplemented in Ogre::D3D9RenderSystem.

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

| Destroys a render texture.

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

| Destroys a render window.

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

| See RenderSystem.

virtual 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.

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

| Enable the clipping plane. Implements Ogre::RenderSystem.

virtual void Ogre::RenderSystem::fireEvent | ( | const String & | name,
|  | const NameValuePairList * | params = 0
| ) | `[protected, virtual, inherited]`

| Internal method for firing a rendersystem event.

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

| Gets the capabilities of the render system. Definition at line 859 of file OgreRenderSystem.h.

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

| See RenderSystem. Implements Ogre::RenderSystem.

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

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

| See RenderSystem. Implements Ogre::RenderSystem.

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.

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.

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.

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

| See RenderSystem. Implements Ogre::RenderSystem.

virtual const StringVector& Ogre::RenderSystem::getRenderSystemEvents | ( | void |  | ) | const`[virtual, inherited]`

Gets a list of the rendersystem specific events that this rendersystem can raise.

See also:
  RenderSystem::addListener

Definition at line 1004 of file OgreRenderSystem.h.

References Ogre::StringVector.

virtual 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.

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

| Returns a specialised MapIterator over all render targets attached to the RenderSystem. Definition at line 406 of file OgreRenderSystem.h. References Ogre::RenderSystem::RenderTargetIterator.

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.

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

| Returns true if the system is synchronising frames with the monitor vertical blank.

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

| Returns true if the renderer will try to use W-buffers when avalible.

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

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

| See RenderSystem. Reimplemented from Ogre::RenderSystem.

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

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

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

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

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

| See RenderSystem. Implements Ogre::RenderSystem.

virtual void Ogre::RenderSystem::removeListener | ( | Listener * | l | ) | `[virtual, inherited]`

| Remove a listener to the custom events that this render system can raise.

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

| See RenderSystem. Implements Ogre::RenderSystem.

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

| Set a clipping plane.

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

| Set a clipping plane. Implements Ogre::RenderSystem.

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

| See RenderSystem. Implements Ogre::RenderSystem.

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

| See RenderSystem. Implements Ogre::RenderSystem.

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

virtual 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.

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

| See RenderSystem. Implements Ogre::RenderSystem.

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

| See RenderSystem. Implements Ogre::RenderSystem.

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 418 of file OgreD3D7RenderSystem.h.

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

| See RenderSystem. Implements Ogre::RenderSystem.

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

| See RenderSystem. Implements Ogre::RenderSystem.

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

| See RenderSystem. Implements Ogre::RenderSystem.

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

| See RenderSystem. Implements Ogre::RenderSystem.

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

| See RenderSystem. Implements Ogre::RenderSystem.

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.

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.

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

| See RenderSystem. Reimplemented from Ogre::RenderSystem.

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

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

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

| See RenderSystem. Implements Ogre::RenderSystem.

## Member Data Documentation

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

| Definition at line 57 of file OgreD3D7RenderSystem.h.

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

| The Active render target. Definition at line 1013 of file OgreRenderSystem.h.

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

| Definition at line 1025 of file OgreRenderSystem.h.

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

| Used to store the capabilities of the graphics card. Definition at line 1022 of file OgreRenderSystem.h.

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

| Definition at line 1027 of file OgreRenderSystem.h.

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

| Definition at line 144 of file OgreD3D7RenderSystem.h.

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

| Definition at line 51 of file OgreD3D7RenderSystem.h.

bool Ogre::D3DRenderSystem::mDeviceLost `[private]`

| Definition at line 61 of file OgreD3D7RenderSystem.h.

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

| Definition at line 55 of file OgreD3D7RenderSystem.h.

ListenerList Ogre::RenderSystem::mEventListeners `[protected, inherited]`

| Definition at line 1050 of file OgreRenderSystem.h.

StringVector Ogre::RenderSystem::mEventNames `[protected, inherited]`

| List of names of events this rendersystem may raise. Definition at line 1044 of file OgreRenderSystem.h.

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

| Definition at line 1032 of file OgreRenderSystem.h.

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

| Definition at line 141 of file OgreD3D7RenderSystem.h.

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

| Definition at line 140 of file OgreD3D7RenderSystem.h.

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

| Definition at line 60 of file OgreD3D7RenderSystem.h.

HardwareOcclusionQueryList Ogre::RenderSystem::mHwOcclusionQueries `[protected, inherited]`

| Definition at line 1053 of file OgreRenderSystem.h.

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

| Definition at line 1041 of file OgreRenderSystem.h.

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

| Definition at line 50 of file OgreD3D7RenderSystem.h.

ColourValue Ogre::RenderSystem::mManualBlendColours[OGRE_MAX_TEXTURE_LAYERS][2]`[protected, inherited]`

| Saved manual colour blends. Definition at line 1039 of file OgreRenderSystem.h.

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

| Definition at line 66 of file OgreD3D7RenderSystem.h.

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

| The render targets, ordered by priority. Definition at line 1011 of file OgreRenderSystem.h.

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

| The render targets. Definition at line 1009 of file OgreRenderSystem.h.

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

| Definition at line 147 of file OgreD3D7RenderSystem.h.

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

| Definition at line 147 of file OgreD3D7RenderSystem.h.

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

| structure holding texture unit settings for every stage

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

| Definition at line 1019 of file OgreRenderSystem.h.

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

| Definition at line 1033 of file OgreRenderSystem.h.

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

| Definition at line 145 of file OgreD3D7RenderSystem.h.

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

| Definition at line 1029 of file OgreRenderSystem.h.

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

| Definition at line 1030 of file OgreRenderSystem.h.

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

| Saved set of world matrices. Definition at line 1036 of file OgreRenderSystem.h.

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

- OgreD3D7RenderSystem.h

Copyright © 2000-2005 by The OGRE Team
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Sun Feb 12 13:08:07 2006