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

OgreConfig.h File Reference

Go to the source code of this file.

Defines

#define OGRE_PROFILING   1
 If set to 1, profiling code will be included in the application.

#define OGRE_STACK_UNWINDING   1
 If set to 1, stack unwinding code is compiled into the library and called in case an exception is thrown in order to show the call stack.

#define OGRE_RELEASE_ASSERT   0
 If set to 1, special OGRE debug-build asserts are compiled as exception throws on release builds.

#define OGRE_PRETEND_TEXTURE_UNITS   0
 If set to >0, OGRE will always 'think' that the graphics card only has the number of texture units specified.

#define OGRE_DOUBLE_PRECISION   0
 If set to 1, Real is typedef'ed to double.

#define OGRE_WCHAR_T_STRINGS   0
 If set to 1, the strings are transforned to Unicode, and char is replaced with wchar_t when having to do with strings of any kind.

#define OGRE_MAX_TEXTURE_COORD_SETS   6
 Define number of texture coordinate sets allowed per vertex.

#define OGRE_MAX_TEXTURE_LAYERS   8
 Define max number of texture layers allowed per pass.

#define OGRE_MAX_SIMULTANEOUS_LIGHTS   8
 Define max number of lights allowed per pass.

#define OGRE_MAX_BLEND_WEIGHTS   4
 Define max number of blending weights allowed per vertex.

#define OGRE_DYNAMIC_LINKAGE   1
 Set this to zero if you want to link OGRE as a static lib.

#define OGRE_DEBUG_MEMORY_MANAGER   1
 Set this to 0 if you want to use the standard memory manager in Debug builds Release builds always use the standard memory manager.


Define Documentation

#define OGRE_DEBUG_MEMORY_MANAGER   1
 

Set this to 0 if you want to use the standard memory manager in Debug builds Release builds always use the standard memory manager.

Definition at line 81 of file OgreConfig.h.

#define OGRE_DOUBLE_PRECISION   0
 

If set to 1, Real is typedef'ed to double.

Otherwise, Real is typedef'ed to float.

Definition at line 50 of file OgreConfig.h.

#define OGRE_DYNAMIC_LINKAGE   1
 

Set this to zero if you want to link OGRE as a static lib.

Definition at line 75 of file OgreConfig.h.

#define OGRE_MAX_BLEND_WEIGHTS   4
 

Define max number of blending weights allowed per vertex.

Definition at line 71 of file OgreConfig.h.

Referenced by Ogre::Mesh::_rationaliseBoneAssignments().

#define OGRE_MAX_SIMULTANEOUS_LIGHTS   8
 

Define max number of lights allowed per pass.

Definition at line 67 of file OgreConfig.h.

Referenced by Ogre::Pass::Pass(), and Ogre::MaterialSerializer::writePass().

#define OGRE_MAX_TEXTURE_COORD_SETS   6
 

Define number of texture coordinate sets allowed per vertex.

Definition at line 59 of file OgreConfig.h.

Referenced by Ogre::GLRenderSystem::GLRenderSystem(), Ogre::PanelGuiElement::PanelGuiElement(), Ogre::PanelGuiElement::setTiling(), and Ogre::MeshSerializerImpl::writeGeometry().

#define OGRE_MAX_TEXTURE_LAYERS   8
 

Define max number of texture layers allowed per pass.

Definition at line 63 of file OgreConfig.h.

Referenced by Ogre::D3D9RenderSystem::D3D9RenderSystem(), Ogre::D3DRenderSystem::D3DRenderSystem(), and Ogre::GLRenderSystem::GLRenderSystem().

#define OGRE_PRETEND_TEXTURE_UNITS   0
 

If set to >0, OGRE will always 'think' that the graphics card only has the number of texture units specified.

Very useful for testing multipass fallback.

Definition at line 45 of file OgreConfig.h.

#define OGRE_PROFILING   1
 

If set to 1, profiling code will be included in the application.

When you are deploying your application you will probably want to set this to 0

Definition at line 30 of file OgreConfig.h.

#define OGRE_RELEASE_ASSERT   0
 

If set to 1, special OGRE debug-build asserts are compiled as exception throws on release builds.

Definition at line 40 of file OgreConfig.h.

#define OGRE_STACK_UNWINDING   1
 

If set to 1, stack unwinding code is compiled into the library and called in case an exception is thrown in order to show the call stack.

Definition at line 35 of file OgreConfig.h.

#define OGRE_WCHAR_T_STRINGS   0
 

If set to 1, the strings are transforned to Unicode, and char is replaced with wchar_t when having to do with strings of any kind.

Definition at line 55 of file OgreConfig.h.

Copyright © 2002-2003 by The OGRE Team
Last modified Fri May 14 23:22:56 2004