OGRE: OgreConfig.h File Reference

| OGRE 14.5 Object-Oriented Graphics Rendering Engine

Loading...
Searching...
No Matches
OgreConfig.h File Reference
`#include "OgreBuildSettings.h"`

## Macros
#define | OGRE_MAX_BLEND_WEIGHTS 4
| Define max number of blending weights allowed per vertex.
#define | OGRE_MAX_MULTIPLE_RENDER_TARGETS 8
| Define max number of multiple render targets (MRTs) to render to at once.
#define | OGRE_MAX_NUM_BONES 256
| blend indices are stored as ubyte, so we can't address more than 256 bones
#define | OGRE_MAX_SIMULTANEOUS_LIGHTS 8
| Define max number of lights allowed per pass.
#define | OGRE_MAX_TEXTURE_COORD_SETS 8
| 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_PRETEND_TEXTURE_UNITS 0
| If set to >0, OGRE will always 'think' that the graphics card only has the number of texture units specified.

## Macro Definition Documentation

## ◆ OGRE_PRETEND_TEXTURE_UNITS

#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.

## ◆ OGRE_MAX_TEXTURE_COORD_SETS

#define OGRE_MAX_TEXTURE_COORD_SETS 8

Define number of texture coordinate sets allowed per vertex.

Referenced by Ogre::ManualObject::visitRenderables().

## ◆ OGRE_MAX_TEXTURE_LAYERS

#define OGRE_MAX_TEXTURE_LAYERS 16

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

Referenced by Ogre::PanelOverlayElement::_updateRenderQueue(), and Ogre::D3D11RenderSystem::D3D11Sampler.

## ◆ OGRE_MAX_SIMULTANEOUS_LIGHTS

#define OGRE_MAX_SIMULTANEOUS_LIGHTS 8

Define max number of lights allowed per pass.

## ◆ OGRE_MAX_BLEND_WEIGHTS

#define OGRE_MAX_BLEND_WEIGHTS 4

Define max number of blending weights allowed per vertex.

## ◆ OGRE_MAX_NUM_BONES

#define OGRE_MAX_NUM_BONES 256

blend indices are stored as ubyte, so we can't address more than 256 bones

## ◆ OGRE_MAX_MULTIPLE_RENDER_TARGETS

#define OGRE_MAX_MULTIPLE_RENDER_TARGETS 8

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