OgreConfig.h File Reference

#include "OgreBuildSettings.h"

Go to the source code of this file.

Defines

#define OGRE_ASSERT_MODE   0
 If set to 1, profiling code will be included in the application.
#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_MAX_TEXTURE_COORD_SETS   8
 If set to 1, Real is typedef'ed to double.
#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_MEMORY_ALLOCATOR_STD   1
 Define this if you want to link OGRE as a static lib (preferably as a project file).
#define OGRE_MEMORY_ALLOCATOR_NED   2
#define OGRE_MEMORY_ALLOCATOR_USER   3
#define OGRE_MEMORY_ALLOCATOR_NEDPOOLING   4
#define OGRE_MAX_MULTIPLE_RENDER_TARGETS   8
 Define max number of multiple render targets (MRTs) to render to at once.

Define Documentation

#define OGRE_ASSERT_MODE   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 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 48 of file OgreConfig.h.

#define OGRE_MAX_BLEND_WEIGHTS   4

Define max number of blending weights allowed per vertex.

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

#define OGRE_MAX_SIMULTANEOUS_LIGHTS   8

Define max number of lights allowed per pass.

Definition at line 74 of file OgreConfig.h.

#define OGRE_MAX_TEXTURE_COORD_SETS   8

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. Define number of texture coordinate sets allowed per vertex.

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

#define OGRE_MEMORY_ALLOCATOR_NED   2

Definition at line 87 of file OgreConfig.h.

#define OGRE_MEMORY_ALLOCATOR_NEDPOOLING   4

Definition at line 89 of file OgreConfig.h.

#define OGRE_MEMORY_ALLOCATOR_STD   1

Define this if you want to link OGRE as a static lib (preferably as a project file).

Definition at line 86 of file OgreConfig.h.

#define OGRE_MEMORY_ALLOCATOR_USER   3

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


Copyright © 2012 Torus Knot Software Ltd
Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Fri May 25 23:36:28 2012