OGRE
1.9
Object-Oriented Graphics Rendering Engine
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
OgreConfig.h
Go to the documentation of this file.
1
/*
2
-----------------------------------------------------------------------------
3
This source file is part of OGRE
4
(Object-oriented Graphics Rendering Engine)
5
For the latest info, see http://www.ogre3d.org/
6
7
Copyright (c) 2000-2014 Torus Knot Software Ltd
8
9
Permission is hereby granted, free of charge, to any person obtaining a copy
10
of this software and associated documentation files (the "Software"), to deal
11
in the Software without restriction, including without limitation the rights
12
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
13
copies of the Software, and to permit persons to whom the Software is
14
furnished to do so, subject to the following conditions:
15
16
The above copyright notice and this permission notice shall be included in
17
all copies or substantial portions of the Software.
18
19
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
20
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
21
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
22
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
23
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
24
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
25
THE SOFTWARE.
26
-----------------------------------------------------------------------------
27
*/
28
#ifndef __Config_H_
29
#define __Config_H_
30
31
// Include the CMake-generated build settings.
32
// If you get complaints that this file is missing, then you're probably
33
// trying to link directly against your source dir. You must then add
34
// %BUILD_DIR%/include to your include search path to find OgreBuildSettings.h.
35
#include "OgreBuildSettings.h"
36
39
#ifndef OGRE_PROFILING
40
#define OGRE_PROFILING 0
41
#endif
42
48
#ifndef OGRE_ASSERT_MODE
49
#define OGRE_ASSERT_MODE 0
50
#endif
51
55
#define OGRE_PRETEND_TEXTURE_UNITS 0
56
62
#ifndef OGRE_DOUBLE_PRECISION
63
#define OGRE_DOUBLE_PRECISION 0
64
#endif
65
68
#define OGRE_MAX_TEXTURE_COORD_SETS 8
69
72
#define OGRE_MAX_TEXTURE_LAYERS 16
73
76
#define OGRE_MAX_SIMULTANEOUS_LIGHTS 8
77
80
#define OGRE_MAX_BLEND_WEIGHTS 4
81
82
// define the memory allocator configuration to use
83
#define OGRE_MEMORY_ALLOCATOR_STD 1
84
#define OGRE_MEMORY_ALLOCATOR_NED 2
85
#define OGRE_MEMORY_ALLOCATOR_USER 3
86
#define OGRE_MEMORY_ALLOCATOR_NEDPOOLING 4
87
88
#ifndef OGRE_MEMORY_ALLOCATOR
89
# define OGRE_MEMORY_ALLOCATOR OGRE_MEMORY_ALLOCATOR_NEDPOOLING
90
#endif
91
92
// Whether to use the custom memory allocator in STL containers
93
#ifndef OGRE_CONTAINERS_USE_CUSTOM_MEMORY_ALLOCATOR
94
# define OGRE_CONTAINERS_USE_CUSTOM_MEMORY_ALLOCATOR 1
95
#endif
96
97
//if you want to make Ogre::String use the custom memory allocator then set:
98
//#define OGRE_STRING_USE_CUSTOM_MEMORY_ALLOCATOR 1
99
// Doing this will mean Ogre's strings will not be compatible with std::string however
100
#ifndef OGRE_STRING_USE_CUSTOM_MEMORY_ALLOCATOR
101
# define OGRE_STRING_USE_CUSTOM_MEMORY_ALLOCATOR 0
102
#endif
103
104
// enable or disable the memory tracker, recording the memory allocations & tracking leaks
105
// default is to disable since it's expensive, but you can enable if needed per build target
106
107
#ifndef OGRE_MEMORY_TRACKER_DEBUG_MODE
108
# define OGRE_MEMORY_TRACKER_DEBUG_MODE 0
109
#endif
110
111
#ifndef OGRE_MEMORY_TRACKER_RELEASE_MODE
112
# define OGRE_MEMORY_TRACKER_RELEASE_MODE 0
113
#endif
114
116
#define OGRE_MAX_MULTIPLE_RENDER_TARGETS 8
117
137
#ifndef OGRE_THREAD_SUPPORT
138
#define OGRE_THREAD_SUPPORT 0
139
#endif
140
#if OGRE_THREAD_SUPPORT != 0 && OGRE_THREAD_SUPPORT != 1 && OGRE_THREAD_SUPPORT != 2
141
#define OGRE_THREAD_SUPPORT 0
142
#endif
143
155
#ifndef OGRE_THREAD_PROVIDER
156
#define OGRE_THREAD_PROVIDER 0
157
#endif
158
162
#ifndef OGRE_NO_FREEIMAGE
163
#define OGRE_NO_FREEIMAGE 0
164
#endif
165
169
#ifndef OGRE_NO_DDS_CODEC
170
#define OGRE_NO_DDS_CODEC 0
171
#endif
172
176
#ifndef OGRE_NO_ETC_CODEC
177
#define OGRE_NO_ETC_CODEC 1
178
#endif
179
183
#ifndef OGRE_NO_ZIP_ARCHIVE
184
#define OGRE_NO_ZIP_ARCHIVE 0
185
#endif
186
187
#endif
OgreMain
include
OgreConfig.h
Generated on Fri Jun 20 2014 00:37:31 for OGRE by
1.8.7