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

# OgreD3D9Prerequisites.h File Reference

`#include "OgrePrerequisites.h"`
`#include "OgreNoMemoryMacros.h"`
`#include <d3d9.h>`
`#include <d3dx9.h>`
`#include <dxerr9.h>`
`#include "OgreMemoryMacros.h"`

Go to the source code of this file.

## Namespaces

namespace | Ogre

## Defines

#define | DIRECT3D_VERSION 0x0900
#define | SAFE_DELETE(p) { if(p) { delete (p); (p)=NULL; } }
#define | SAFE_DELETE_ARRAY(p) { if(p) { delete[] (p); (p)=NULL; } }
#define | SAFE_RELEASE(p) { if(p) { (p)->Release(); (p)=NULL; } }
#define | NOMINMAX
#define | OGRE_D3D_MANAGE_BUFFERS 1
#define | _OgreD3D9Export

## Define Documentation

#define _OgreD3D9Export

| Definition at line 76 of file OgreD3D9Prerequisites.h.

#define DIRECT3D_VERSION 0x0900

| Definition at line 31 of file OgreD3D9Prerequisites.h.

#define NOMINMAX

| Definition at line 40 of file OgreD3D9Prerequisites.h.

#define OGRE_D3D_MANAGE_BUFFERS 1

| Definition at line 68 of file OgreD3D9Prerequisites.h. Referenced by Ogre::D3D9HardwareVertexBuffer::D3D9HardwareVertexBuffer().

#define SAFE_DELETE | ( | p |  | ) | { if(p) { delete (p); (p)=NULL; } }

| Definition at line 34 of file OgreD3D9Prerequisites.h. Referenced by Ogre::D3D9RenderSystem::shutdown(), Ogre::D3DRenderSystem::shutdown(), Ogre::D3D9Driver::~D3D9Driver(), Ogre::D3D9RenderSystem::~D3D9RenderSystem(), Ogre::D3D9RenderTexture::~D3D9RenderTexture(), and Ogre::D3DRenderSystem::~D3DRenderSystem().

#define SAFE_DELETE_ARRAY | ( | p |  | ) | { if(p) { delete[] (p); (p)=NULL; } }

| Definition at line 35 of file OgreD3D9Prerequisites.h.

#define SAFE_RELEASE | ( | p |  | ) | { if(p) { (p)->Release(); (p)=NULL; } }

Definition at line 36 of file OgreD3D9Prerequisites.h.

Referenced by Ogre::D3D9Texture::_blitImagesToCubeTex(), Ogre::D3D9Texture::_blitImageToNormTex(), Ogre::D3D9Texture::_copyMemoryToSurface(), Ogre::D3D9Texture::_createDepthStencil(), Ogre::D3D9Texture::_freeResources(), Ogre::D3D9Texture::_setDevice(), Ogre::D3D9Texture::blitToTexture(), Ogre::D3D9Texture::copyToTexture(), Ogre::D3D9RenderWindow::destroy(), Ogre::D3D9VertexDeclaration::getD3DVertexDeclaration(), Ogre::D3D9GpuProgram::loadFromSource(), Ogre::D3D9GpuFragmentProgram::unload(), Ogre::D3D9GpuVertexProgram::unload(), Ogre::D3D9HLSLProgram::unloadImpl(), Ogre::D3D9RenderWindow::writeContentsToFile(), Ogre::D3D9HardwareIndexBuffer::~D3D9HardwareIndexBuffer(), Ogre::D3D9HardwareOcclusionQuery::~D3D9HardwareOcclusionQuery(), Ogre::D3D9HardwareVertexBuffer::~D3D9HardwareVertexBuffer(), Ogre::D3D9RenderSystem::~D3D9RenderSystem(), Ogre::D3D9RenderWindow::~D3D9RenderWindow(), Ogre::D3D9Texture::~D3D9Texture(), and Ogre::D3D9VertexDeclaration::~D3D9VertexDeclaration().

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