<html> <head> <title>OgreConfig.h File Reference - OGRE Documentation</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <link type="text/css" rel="stylesheet" href="style.css"> </head> <body> <!-- Generated by Doxygen 1.2.16 --> <center> <a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> <a class="qindex" href="pages.html">Related Pages</a> </center> <hr><h1>OgreConfig.h File Reference</h1> <p> <a href="OgreConfig_8h-source.html">Go to the source code of this file.</a><table border=0 cellpadding=0 cellspacing=0> <tr><td colspan=2><br><h2>Defines</h2></td></tr> <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="OgreConfig_8h.html#a0">OGRE_PROFILING</a> 1</td></tr> <tr><td> </td><td><font size=-1><em>If set to 1, profiling code will be included in the application.</em> <a href="#a0"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="OgreConfig_8h.html#a1">OGRE_STACK_UNWINDING</a> 1</td></tr> <tr><td> </td><td><font size=-1><em>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.</em> <a href="#a1"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="OgreConfig_8h.html#a2">OGRE_RELEASE_ASSERT</a> 0</td></tr> <tr><td> </td><td><font size=-1><em>If set to 1, special OGRE debug-build asserts are compiled as exception throws on release builds.</em> <a href="#a2"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="OgreConfig_8h.html#a3">OGRE_PRETEND_TEXTURE_UNITS</a> 0</td></tr> <tr><td> </td><td><font size=-1><em>If set to >0, OGRE will always 'think' that the graphics card only has the number of texture units specified.</em> <a href="#a3"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="OgreConfig_8h.html#a4">OGRE_DOUBLE_PRECISION</a> 0</td></tr> <tr><td> </td><td><font size=-1><em>If set to 1, Real is typedef'ed to double.</em> <a href="#a4"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="OgreConfig_8h.html#a5">OGRE_WCHAR_T_STRINGS</a> 0</td></tr> <tr><td> </td><td><font size=-1><em>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.</em> <a href="#a5"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="OgreConfig_8h.html#a6">OGRE_MAX_TEXTURE_COORD_SETS</a> 6</td></tr> <tr><td> </td><td><font size=-1><em>Define number of texture coordinate sets allowed per vertex.</em> <a href="#a6"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="OgreConfig_8h.html#a7">OGRE_MAX_TEXTURE_LAYERS</a> 8</td></tr> <tr><td> </td><td><font size=-1><em>Define max number of texture layers allowed per pass.</em> <a href="#a7"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="OgreConfig_8h.html#a8">OGRE_MAX_SIMULTANEOUS_LIGHTS</a> 8</td></tr> <tr><td> </td><td><font size=-1><em>Define max number of lights allowed per pass.</em> <a href="#a8"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="OgreConfig_8h.html#a9">OGRE_MAX_BLEND_WEIGHTS</a> 4</td></tr> <tr><td> </td><td><font size=-1><em>Define max number of blending weights allowed per vertex.</em> <a href="#a9"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="OgreConfig_8h.html#a10">OGRE_DYNAMIC_LINKAGE</a> 1</td></tr> <tr><td> </td><td><font size=-1><em>Set this to zero if you want to link OGRE as a static lib.</em> <a href="#a10"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="OgreConfig_8h.html#a11">OGRE_DEBUG_MEMORY_MANAGER</a> 1</td></tr> <tr><td> </td><td><font size=-1><em>Set this to 0 if you want to use the standard memory manager in Debug builds Release builds always use the standard memory manager.</em> <a href="#a11"></a><em></em></font><br><br></td></tr> </table> <hr><h2>Define Documentation</h2> <a name="a11" doxytag="OgreConfig.h::OGRE_DEBUG_MEMORY_MANAGER"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> #define OGRE_DEBUG_MEMORY_MANAGER 1 </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Set this to 0 if you want to use the standard memory manager in Debug builds Release builds always use the standard memory manager. <p> <p> Definition at line <a class="el" href="OgreConfig_8h-source.html#l00081">81</a> of file <a class="el" href="OgreConfig_8h-source.html">OgreConfig.h</a>. </td> </tr> </table> <a name="a4" doxytag="OgreConfig.h::OGRE_DOUBLE_PRECISION"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> #define OGRE_DOUBLE_PRECISION 0 </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> If set to 1, Real is typedef'ed to double. <p> Otherwise, Real is typedef'ed to float. <p> Definition at line <a class="el" href="OgreConfig_8h-source.html#l00050">50</a> of file <a class="el" href="OgreConfig_8h-source.html">OgreConfig.h</a>. </td> </tr> </table> <a name="a10" doxytag="OgreConfig.h::OGRE_DYNAMIC_LINKAGE"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> #define OGRE_DYNAMIC_LINKAGE 1 </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Set this to zero if you want to link OGRE as a static lib. <p> <p> Definition at line <a class="el" href="OgreConfig_8h-source.html#l00075">75</a> of file <a class="el" href="OgreConfig_8h-source.html">OgreConfig.h</a>. </td> </tr> </table> <a name="a9" doxytag="OgreConfig.h::OGRE_MAX_BLEND_WEIGHTS"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> #define OGRE_MAX_BLEND_WEIGHTS 4 </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Define max number of blending weights allowed per vertex. <p> <p> Definition at line <a class="el" href="OgreConfig_8h-source.html#l00071">71</a> of file <a class="el" href="OgreConfig_8h-source.html">OgreConfig.h</a>. <p> Referenced by <a class="el" href="OgreMesh_8cpp-source.html#l00419">Ogre::Mesh::_rationaliseBoneAssignments</a>(). </td> </tr> </table> <a name="a8" doxytag="OgreConfig.h::OGRE_MAX_SIMULTANEOUS_LIGHTS"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> #define OGRE_MAX_SIMULTANEOUS_LIGHTS 8 </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Define max number of lights allowed per pass. <p> <p> Definition at line <a class="el" href="OgreConfig_8h-source.html#l00067">67</a> of file <a class="el" href="OgreConfig_8h-source.html">OgreConfig.h</a>. <p> Referenced by <a class="el" href="OgrePass_8cpp-source.html#l00037">Ogre::Pass::Pass</a>(), and <a class="el" href="OgreMaterialSerializer_8cpp-source.html#l02031">Ogre::MaterialSerializer::writePass</a>(). </td> </tr> </table> <a name="a6" doxytag="OgreConfig.h::OGRE_MAX_TEXTURE_COORD_SETS"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> #define OGRE_MAX_TEXTURE_COORD_SETS 6 </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Define number of texture coordinate sets allowed per vertex. <p> <p> Definition at line <a class="el" href="OgreConfig_8h-source.html#l00059">59</a> of file <a class="el" href="OgreConfig_8h-source.html">OgreConfig.h</a>. <p> Referenced by <a class="el" href="OgreGLRenderSystem_8cpp-source.html#l00100">Ogre::GLRenderSystem::GLRenderSystem</a>(), <a class="el" href="OgrePanelGuiElement_8cpp-source.html#l00044">Ogre::PanelGuiElement::PanelGuiElement</a>(), <a class="el" href="OgrePanelGuiElement_8cpp-source.html#l00098">Ogre::PanelGuiElement::setTiling</a>(), and <a class="el" href="OgreMeshSerializerImpl_8cpp-source.html#l00268">Ogre::MeshSerializerImpl::writeGeometry</a>(). </td> </tr> </table> <a name="a7" doxytag="OgreConfig.h::OGRE_MAX_TEXTURE_LAYERS"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> #define OGRE_MAX_TEXTURE_LAYERS 8 </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Define max number of texture layers allowed per pass. <p> <p> Definition at line <a class="el" href="OgreConfig_8h-source.html#l00063">63</a> of file <a class="el" href="OgreConfig_8h-source.html">OgreConfig.h</a>. <p> Referenced by <a class="el" href="OgreD3D9RenderSystem_8cpp-source.html#l00049">Ogre::D3D9RenderSystem::D3D9RenderSystem</a>(), <a class="el" href="OgreD3D7RenderSystem_8cpp-source.html#l00049">Ogre::D3DRenderSystem::D3DRenderSystem</a>(), and <a class="el" href="OgreGLRenderSystem_8cpp-source.html#l00100">Ogre::GLRenderSystem::GLRenderSystem</a>(). </td> </tr> </table> <a name="a3" doxytag="OgreConfig.h::OGRE_PRETEND_TEXTURE_UNITS"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> #define OGRE_PRETEND_TEXTURE_UNITS 0 </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> If set to >0, OGRE will always 'think' that the graphics card only has the number of texture units specified. <p> Very useful for testing multipass fallback. <p> Definition at line <a class="el" href="OgreConfig_8h-source.html#l00045">45</a> of file <a class="el" href="OgreConfig_8h-source.html">OgreConfig.h</a>. </td> </tr> </table> <a name="a0" doxytag="OgreConfig.h::OGRE_PROFILING"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> #define OGRE_PROFILING 1 </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> If set to 1, profiling code will be included in the application. <p> When you are deploying your application you will probably want to set this to 0 <p> Definition at line <a class="el" href="OgreConfig_8h-source.html#l00030">30</a> of file <a class="el" href="OgreConfig_8h-source.html">OgreConfig.h</a>. </td> </tr> </table> <a name="a2" doxytag="OgreConfig.h::OGRE_RELEASE_ASSERT"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> #define OGRE_RELEASE_ASSERT 0 </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> If set to 1, special OGRE debug-build asserts are compiled as exception throws on release builds. <p> <p> Definition at line <a class="el" href="OgreConfig_8h-source.html#l00040">40</a> of file <a class="el" href="OgreConfig_8h-source.html">OgreConfig.h</a>. </td> </tr> </table> <a name="a1" doxytag="OgreConfig.h::OGRE_STACK_UNWINDING"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> #define OGRE_STACK_UNWINDING 1 </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> 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. <p> <p> Definition at line <a class="el" href="OgreConfig_8h-source.html#l00035">35</a> of file <a class="el" href="OgreConfig_8h-source.html">OgreConfig.h</a>. </td> </tr> </table> <a name="a5" doxytag="OgreConfig.h::OGRE_WCHAR_T_STRINGS"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> #define OGRE_WCHAR_T_STRINGS 0 </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> 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. <p> <p> Definition at line <a class="el" href="OgreConfig_8h-source.html#l00055">55</a> of file <a class="el" href="OgreConfig_8h-source.html">OgreConfig.h</a>. </td> </tr> </table> <p> Copyright © 2002-2003 by The OGRE Team<br /> Last modified Wed Jan 21 00:10:33 2004 </p> </body> </html>