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

OgreConfig.h File Reference

Go to the source code of this file.

Defines

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

#define OGRE_STACK_UNWINDING   0
 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_ASSERT_MODE   0
 There are three modes for handling asserts in OGRE: 0 - STANDARD - Standard asserts in debug builds, nothing in release builds 1 - RELEASE_EXCEPTIONS - Standard asserts in debug builds, exceptions in release builds 2 - EXCEPTIONS - Exceptions in debug builds, exceptions in 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   16
 Define max number of texture layers allowed per pass on any card.

#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 OGRE_MAX_MULTIPLE_RENDER_TARGETS   8
 Define max number of multiple render targets (MRTs) to render to at once.

#define OGRE_THREAD_SUPPORT   0
 Indicate general support for multithreading.

#define OGRE_NO_DEVIL   0
 Disables use of the DevIL image library for loading images.


Define Documentation

#define OGRE_ASSERT_MODE   0
 

There are three modes for handling asserts in OGRE: 0 - STANDARD - Standard asserts in debug builds, nothing in release builds 1 - RELEASE_EXCEPTIONS - Standard asserts in debug builds, exceptions in release builds 2 - EXCEPTIONS - Exceptions in debug builds, exceptions in release builds.

Definition at line 47 of file OgreConfig.h.

#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 92 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. Setting this allows you to perform mathematical operations in the CPU (Quaternion, Vector3 etc) with more precision, but bear in mind that the GPU still operates in single-precision mode.

Definition at line 60 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 86 of file OgreConfig.h.

#define OGRE_MAX_BLEND_WEIGHTS   4
 

Define max number of blending weights allowed per vertex.

Definition at line 82 of file OgreConfig.h.

#define OGRE_MAX_MULTIPLE_RENDER_TARGETS   8
 

Define max number of multiple render targets (MRTs) to render to at once.

Definition at line 96 of file OgreConfig.h.

#define OGRE_MAX_SIMULTANEOUS_LIGHTS   8
 

Define max number of lights allowed per pass.

Definition at line 78 of file OgreConfig.h.

#define OGRE_MAX_TEXTURE_COORD_SETS   6
 

Define number of texture coordinate sets allowed per vertex.

Definition at line 70 of file OgreConfig.h.

#define OGRE_MAX_TEXTURE_LAYERS   16
 

Define max number of texture layers allowed per pass on any card.

Definition at line 74 of file OgreConfig.h.

#define OGRE_NO_DEVIL   0
 

Disables use of the DevIL image library for loading images.

WARNING: Use only when you want to provide your own image loading code via codecs.

Definition at line 114 of file OgreConfig.h.

#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 52 of file OgreConfig.h.

#define OGRE_PROFILING   0
 

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 35 of file OgreConfig.h.

#define OGRE_STACK_UNWINDING   0
 

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 40 of file OgreConfig.h.

#define OGRE_THREAD_SUPPORT   0
 

Indicate general support for multithreading.

This will enable threading support in certain parts of the engine, mainly resource loading and SharedPtr handling. The places where threading is available are clearly marked, you should assume state is NOT thread safe unless otherwise stated in relation to this flag. WARNING: highly experimental, use with caution

Definition at line 107 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 66 of file OgreConfig.h.


Copyright © 2000-2005 by The OGRE Team
Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Sun Mar 12 14:37:52 2006