#include <OgrePass.h>
Public Types | |
enum | BuiltinHashFunction { MIN_TEXTURE_CHANGE, MIN_GPU_PROGRAM_CHANGE } |
There are some default hash functions used to order passes so that render state changes are minimised, this enumerates them. More... | |
typedef std::set < Pass * > | PassSet |
typedef VectorIterator < TextureUnitStates > | TextureUnitStateIterator |
typedef ConstVectorIterator < TextureUnitStates > | ConstTextureUnitStateIterator |
Public Member Functions | |
OGRE_STATIC_MUTEX (msDirtyHashListMutex) | |
OGRE_STATIC_MUTEX (msPassGraveyardMutex) | |
Pass (Technique *parent, unsigned short index) | |
Default constructor. | |
Pass (Technique *parent, unsigned short index, const Pass &oth) | |
Copy constructor. | |
Pass & | operator= (const Pass &oth) |
Operator = overload. | |
~Pass () | |
bool | isProgrammable (void) const |
Returns true if this pass is programmable ie includes either a vertex or fragment program. | |
bool | hasVertexProgram (void) const |
Returns true if this pass uses a programmable vertex pipeline. | |
bool | hasFragmentProgram (void) const |
Returns true if this pass uses a programmable fragment pipeline. | |
bool | hasShadowCasterVertexProgram (void) const |
Returns true if this pass uses a shadow caster vertex program. | |
bool | hasShadowReceiverVertexProgram (void) const |
Returns true if this pass uses a shadow receiver vertex program. | |
bool | hasShadowReceiverFragmentProgram (void) const |
Returns true if this pass uses a shadow receiver fragment program. | |
unsigned short | getIndex (void) const |
Gets the index of this Pass in the parent Technique. | |
void | setName (const String &name) |
const String & | getName (void) const |
get the name of the pass | |
void | setAmbient (Real red, Real green, Real blue) |
Sets the ambient colour reflectance properties of this pass. | |
void | setAmbient (const ColourValue &ambient) |
Sets the ambient colour reflectance properties of this pass. | |
void | setDiffuse (Real red, Real green, Real blue, Real alpha) |
Sets the diffuse colour reflectance properties of this pass. | |
void | setDiffuse (const ColourValue &diffuse) |
Sets the diffuse colour reflectance properties of this pass. | |
void | setSpecular (Real red, Real green, Real blue, Real alpha) |
Sets the specular colour reflectance properties of this pass. | |
void | setSpecular (const ColourValue &specular) |
Sets the specular colour reflectance properties of this pass. | |
void | setShininess (Real val) |
Sets the shininess of the pass, affecting the size of specular highlights. | |
void | setSelfIllumination (Real red, Real green, Real blue) |
Sets the amount of self-illumination an object has. | |
void | setSelfIllumination (const ColourValue &selfIllum) |
Sets the amount of self-illumination an object has. | |
void | setVertexColourTracking (TrackVertexColourType tracking) |
Sets which material properties follow the vertex colour. | |
Real | getPointSize (void) const |
Gets the point size of the pass. | |
void | setPointSize (Real ps) |
Sets the point size of this pass. | |
void | setPointSpritesEnabled (bool enabled) |
Sets whether or not rendering points using OT_POINT_LIST will render point sprites (textured quads) or plain points (dots). | |
bool | getPointSpritesEnabled (void) const |
Returns whether point sprites are enabled when rendering a point list. | |
void | setPointAttenuation (bool enabled, Real constant=0.0f, Real linear=1.0f, Real quadratic=0.0f) |
Sets how points are attenuated with distance. | |
bool | isPointAttenuationEnabled (void) const |
Returns whether points are attenuated with distance. | |
Real | getPointAttenuationConstant (void) const |
Returns the constant coefficient of point attenuation. | |
Real | getPointAttenuationLinear (void) const |
Returns the linear coefficient of point attenuation. | |
Real | getPointAttenuationQuadratic (void) const |
Returns the quadratic coefficient of point attenuation. | |
void | setPointMinSize (Real min) |
Set the minimum point size, when point attenuation is in use. | |
Real | getPointMinSize (void) const |
Get the minimum point size, when point attenuation is in use. | |
void | setPointMaxSize (Real max) |
Set the maximum point size, when point attenuation is in use. | |
Real | getPointMaxSize (void) const |
Get the maximum point size, when point attenuation is in use. | |
const ColourValue & | getAmbient (void) const |
Gets the ambient colour reflectance of the pass. | |
const ColourValue & | getDiffuse (void) const |
Gets the diffuse colour reflectance of the pass. | |
const ColourValue & | getSpecular (void) const |
Gets the specular colour reflectance of the pass. | |
const ColourValue & | getSelfIllumination (void) const |
Gets the self illumination colour of the pass. | |
Real | getShininess (void) const |
Gets the 'shininess' property of the pass (affects specular highlights). | |
TrackVertexColourType | getVertexColourTracking (void) const |
Gets which material properties follow the vertex colour. | |
TextureUnitState * | createTextureUnitState (void) |
Inserts a new TextureUnitState object into the Pass. | |
TextureUnitState * | createTextureUnitState (const String &textureName, unsigned short texCoordSet=0) |
Inserts a new TextureUnitState object into the Pass. | |
void | addTextureUnitState (TextureUnitState *state) |
Adds the passed in TextureUnitState, to the existing Pass. | |
TextureUnitState * | getTextureUnitState (unsigned short index) |
Retrieves a pointer to a texture unit state so it may be modified. | |
TextureUnitState * | getTextureUnitState (const String &name) |
Retrieves the Texture Unit State matching name. | |
const TextureUnitState * | getTextureUnitState (unsigned short index) const |
Retrieves a const pointer to a texture unit state. | |
const TextureUnitState * | getTextureUnitState (const String &name) const |
Retrieves the Texture Unit State matching name. | |
unsigned short | getTextureUnitStateIndex (const TextureUnitState *state) const |
Retrieve the index of the Texture Unit State in the pass. | |
TextureUnitStateIterator | getTextureUnitStateIterator (void) |
Get an iterator over the TextureUnitStates contained in this Pass. | |
ConstTextureUnitStateIterator | getTextureUnitStateIterator (void) const |
Get an iterator over the TextureUnitStates contained in this Pass. | |
void | removeTextureUnitState (unsigned short index) |
Removes the indexed texture unit state from this pass. | |
void | removeAllTextureUnitStates (void) |
Removes all texture unit settings. | |
unsigned short | getNumTextureUnitStates (void) const |
Returns the number of texture unit settings. | |
void | setSceneBlending (const SceneBlendType sbt) |
Sets the kind of blending this pass has with the existing contents of the scene. | |
void | setSceneBlending (const SceneBlendFactor sourceFactor, const SceneBlendFactor destFactor) |
Allows very fine control of blending this Pass with the existing contents of the scene. | |
SceneBlendFactor | getSourceBlendFactor () const |
Retrieves the source blending factor for the material (as set using Materiall::setSceneBlending). | |
SceneBlendFactor | getDestBlendFactor () const |
Retrieves the destination blending factor for the material (as set using Materiall::setSceneBlending). | |
bool | isTransparent (void) const |
Returns true if this pass has some element of transparency. | |
void | setDepthCheckEnabled (bool enabled) |
Sets whether or not this pass renders with depth-buffer checking on or not. | |
bool | getDepthCheckEnabled (void) const |
Returns whether or not this pass renders with depth-buffer checking on or not. | |
void | setDepthWriteEnabled (bool enabled) |
Sets whether or not this pass renders with depth-buffer writing on or not. | |
bool | getDepthWriteEnabled (void) const |
Returns whether or not this pass renders with depth-buffer writing on or not. | |
void | setDepthFunction (CompareFunction func) |
Sets the function used to compare depth values when depth checking is on. | |
CompareFunction | getDepthFunction (void) const |
Returns the function used to compare depth values when depth checking is on. | |
void | setColourWriteEnabled (bool enabled) |
Sets whether or not colour buffer writing is enabled for this Pass. | |
bool | getColourWriteEnabled (void) const |
Determines if colour buffer writing is enabled for this pass. | |
void | setCullingMode (CullingMode mode) |
Sets the culling mode for this pass based on the 'vertex winding'. | |
CullingMode | getCullingMode (void) const |
Returns the culling mode for geometry rendered with this pass. | |
void | setManualCullingMode (ManualCullingMode mode) |
Sets the manual culling mode, performed by CPU rather than hardware. | |
ManualCullingMode | getManualCullingMode (void) const |
Retrieves the manual culling mode for this pass. | |
void | setLightingEnabled (bool enabled) |
Sets whether or not dynamic lighting is enabled. | |
bool | getLightingEnabled (void) const |
Returns whether or not dynamic lighting is enabled. | |
void | setMaxSimultaneousLights (unsigned short maxLights) |
Sets the maximum number of lights to be used by this pass. | |
unsigned short | getMaxSimultaneousLights (void) const |
Gets the maximum number of lights to be used by this pass. | |
void | setStartLight (unsigned short startLight) |
Sets the light index that this pass will start at in the light list. | |
unsigned short | getStartLight (void) const |
Gets the light index that this pass will start at in the light list. | |
void | setShadingMode (ShadeOptions mode) |
Sets the type of light shading required. | |
ShadeOptions | getShadingMode (void) const |
Returns the type of light shading to be used. | |
void | setPolygonMode (PolygonMode mode) |
Sets the type of polygon rendering required. | |
PolygonMode | getPolygonMode (void) const |
Returns the type of light shading to be used. | |
void | setFog (bool overrideScene, FogMode mode=FOG_NONE, const ColourValue &colour=ColourValue::White, Real expDensity=0.001, Real linearStart=0.0, Real linearEnd=1.0) |
Sets the fogging mode applied to this pass. | |
bool | getFogOverride (void) const |
Returns true if this pass is to override the scene fog settings. | |
FogMode | getFogMode (void) const |
Returns the fog mode for this pass. | |
const ColourValue & | getFogColour (void) const |
Returns the fog colour for the scene. | |
Real | getFogStart (void) const |
Returns the fog start distance for this pass. | |
Real | getFogEnd (void) const |
Returns the fog end distance for this pass. | |
Real | getFogDensity (void) const |
Returns the fog density for this pass. | |
void | setDepthBias (float constantBias, float slopeScaleBias=0.0f) |
Sets the depth bias to be used for this material. | |
float | getDepthBiasConstant (void) const |
Retrieves the const depth bias value as set by setDepthBias. | |
float | getDepthBiasSlopeScale (void) const |
Retrieves the slope-scale depth bias value as set by setDepthBias. | |
void | setAlphaRejectSettings (CompareFunction func, unsigned char value) |
Sets the way the pass will have use alpha to totally reject pixels from the pipeline. | |
void | setAlphaRejectFunction (CompareFunction func) |
Sets the alpha reject function. | |
void | setAlphaRejectValue (unsigned char val) |
Gets the alpha reject value. | |
CompareFunction | getAlphaRejectFunction (void) const |
Gets the alpha reject function. | |
unsigned char | getAlphaRejectValue (void) const |
Gets the alpha reject value. | |
void | setIteratePerLight (bool enabled, bool onlyForOneLightType=true, Light::LightTypes lightType=Light::LT_POINT) |
Sets whether or not this pass should iterate per light or number of lights which can affect the object being rendered. | |
bool | getIteratePerLight (void) const |
Does this pass run once for every light in range? | |
bool | getRunOnlyForOneLightType (void) const |
Does this pass run only for a single light type (if getIteratePerLight is true). | |
Light::LightTypes | getOnlyLightType () const |
Gets the single light type this pass runs for if getIteratePerLight and getRunOnlyForOneLightType are both true. | |
void | setLightCountPerIteration (unsigned short c) |
If light iteration is enabled, determine the number of lights per iteration. | |
unsigned short | getLightCountPerIteration (void) const |
If light iteration is enabled, determine the number of lights per iteration. | |
Technique * | getParent (void) const |
Gets the parent Technique. | |
const String & | getResourceGroup (void) const |
Gets the resource group of the ultimate parent Material. | |
void | setVertexProgram (const String &name, bool resetParams=true) |
Sets the details of the vertex program to use. | |
void | setVertexProgramParameters (GpuProgramParametersSharedPtr params) |
Sets the vertex program parameters. | |
const String & | getVertexProgramName (void) const |
Gets the name of the vertex program used by this pass. | |
GpuProgramParametersSharedPtr | getVertexProgramParameters (void) const |
Gets the vertex program parameters used by this pass. | |
const GpuProgramPtr & | getVertexProgram (void) const |
Gets the vertex program used by this pass, only available after _load(). | |
void | setShadowCasterVertexProgram (const String &name) |
Sets the details of the vertex program to use when rendering as a shadow caster. | |
void | setShadowCasterVertexProgramParameters (GpuProgramParametersSharedPtr params) |
Sets the vertex program parameters for rendering as a shadow caster. | |
const String & | getShadowCasterVertexProgramName (void) const |
Gets the name of the vertex program used by this pass when rendering shadow casters. | |
GpuProgramParametersSharedPtr | getShadowCasterVertexProgramParameters (void) const |
Gets the vertex program parameters used by this pass when rendering shadow casters. | |
const GpuProgramPtr & | getShadowCasterVertexProgram (void) const |
Gets the vertex program used by this pass when rendering shadow casters, only available after _load(). | |
void | setShadowReceiverVertexProgram (const String &name) |
Sets the details of the vertex program to use when rendering as a shadow receiver. | |
void | setShadowReceiverVertexProgramParameters (GpuProgramParametersSharedPtr params) |
Sets the vertex program parameters for rendering as a shadow receiver. | |
void | setShadowReceiverFragmentProgram (const String &name) |
This method allows you to specify a fragment program for use when rendering a texture shadow receiver. | |
void | setShadowReceiverFragmentProgramParameters (GpuProgramParametersSharedPtr params) |
Sets the fragment program parameters for rendering as a shadow receiver. | |
const String & | getShadowReceiverVertexProgramName (void) const |
Gets the name of the vertex program used by this pass when rendering shadow receivers. | |
GpuProgramParametersSharedPtr | getShadowReceiverVertexProgramParameters (void) const |
Gets the vertex program parameters used by this pass when rendering shadow receivers. | |
const GpuProgramPtr & | getShadowReceiverVertexProgram (void) const |
Gets the vertex program used by this pass when rendering shadow receivers, only available after _load(). | |
const String & | getShadowReceiverFragmentProgramName (void) const |
Gets the name of the fragment program used by this pass when rendering shadow receivers. | |
GpuProgramParametersSharedPtr | getShadowReceiverFragmentProgramParameters (void) const |
Gets the fragment program parameters used by this pass when rendering shadow receivers. | |
const GpuProgramPtr & | getShadowReceiverFragmentProgram (void) const |
Gets the fragment program used by this pass when rendering shadow receivers, only available after _load(). | |
void | setFragmentProgram (const String &name, bool resetParams=true) |
Sets the details of the fragment program to use. | |
void | setFragmentProgramParameters (GpuProgramParametersSharedPtr params) |
Sets the fragment program parameters. | |
const String & | getFragmentProgramName (void) const |
Gets the name of the fragment program used by this pass. | |
GpuProgramParametersSharedPtr | getFragmentProgramParameters (void) const |
Gets the fragment program parameters used by this pass. | |
const GpuProgramPtr & | getFragmentProgram (void) const |
Gets the fragment program used by this pass, only available after _load(). | |
Pass * | _split (unsigned short numUnits) |
Splits this Pass to one which can be handled in the number of texture units specified. | |
void | _notifyIndex (unsigned short index) |
Internal method to adjust pass index. | |
void | _load (void) |
Internal method for loading this pass. | |
void | _unload (void) |
Internal method for unloading this pass. | |
bool | isLoaded (void) const |
uint32 | getHash (void) const |
Gets the 'hash' of this pass, ie a precomputed number to use for sorting. | |
void | _dirtyHash (void) |
Mark the hash as dirty. | |
void | _recalculateHash (void) |
Internal method for recalculating the hash. | |
void | _notifyNeedsRecompile (void) |
Tells the pass that it needs recompilation. | |
void | _updateAutoParamsNoLights (const AutoParamDataSource &source) const |
Update any automatic parameters (except lights) on this pass. | |
void | _updateAutoParamsLightsOnly (const AutoParamDataSource &source) const |
Update any automatic light parameters on this pass. | |
unsigned short | _getTextureUnitWithContentTypeIndex (TextureUnitState::ContentType contentType, unsigned short index) const |
Gets the 'nth' texture which references the given content type. | |
void | setTextureFiltering (TextureFilterOptions filterType) |
Set texture filtering for every texture unit. | |
void | setTextureAnisotropy (unsigned int maxAniso) |
Sets the anisotropy level to be used for all textures. | |
void | queueForDeletion (void) |
Queue this pass for deletion when appropriate. | |
bool | isAmbientOnly (void) const |
Returns whether this pass is ambient only. | |
void | setPassIterationCount (const size_t count) |
set the number of iterations that this pass should perform when doing fast multi pass operation. | |
size_t | getPassIterationCount (void) const |
Gets the pass iteration count value. | |
bool | applyTextureAliases (const AliasTextureNamePairList &aliasList, const bool apply=true) const |
Applies texture names to Texture Unit State with matching texture name aliases. | |
Static Public Member Functions | |
static const PassSet & | getDirtyHashList (void) |
Static method to retrieve all the Passes which need their hash values recalculated. | |
static const PassSet & | getPassGraveyard (void) |
Static method to retrieve all the Passes which are pending deletion. | |
static void | clearDirtyHashList (void) |
Static method to reset the list of passes which need their hash values recalculated. | |
static void | processPendingPassUpdates (void) |
Process all dirty and pending deletion passes. | |
static void | setHashFunction (BuiltinHashFunction builtin) |
Sets one of the default hash functions to be used. | |
static void | setHashFunction (HashFunc *hashFunc) |
Set the hash function used for all passes. | |
static HashFunc * | getHashFunction (void) |
Get the hash function used for all passes. | |
Protected Types | |
typedef std::vector < TextureUnitState * > | TextureUnitStates |
Storage of texture unit states. | |
typedef std::vector < unsigned short > | ContentTypeLookup |
Protected Attributes | |
Technique * | mParent |
unsigned short | mIndex |
String | mName |
uint32 | mHash |
ColourValue | mAmbient |
ColourValue | mDiffuse |
ColourValue | mSpecular |
ColourValue | mEmissive |
Real | mShininess |
TrackVertexColourType | mTracking |
SceneBlendFactor | mSourceBlendFactor |
SceneBlendFactor | mDestBlendFactor |
bool | mDepthCheck |
bool | mDepthWrite |
CompareFunction | mDepthFunc |
float | mDepthBiasConstant |
float | mDepthBiasSlopeScale |
bool | mColourWrite |
CompareFunction | mAlphaRejectFunc |
unsigned char | mAlphaRejectVal |
CullingMode | mCullMode |
ManualCullingMode | mManualCullMode |
bool | mLightingEnabled |
Lighting enabled? | |
unsigned short | mMaxSimultaneousLights |
Max simultaneous lights. | |
unsigned short | mStartLight |
Starting light index. | |
bool | mIteratePerLight |
Run this pass once per light? | |
unsigned short | mLightsPerIteration |
Iterate per how many lights? | |
bool | mRunOnlyForOneLightType |
Light::LightTypes | mOnlyLightType |
ShadeOptions | mShadeOptions |
Shading options. | |
PolygonMode | mPolygonMode |
Polygon mode. | |
bool | mFogOverride |
FogMode | mFogMode |
ColourValue | mFogColour |
Real | mFogStart |
Real | mFogEnd |
Real | mFogDensity |
TextureUnitStates | mTextureUnitStates |
GpuProgramUsage * | mVertexProgramUsage |
GpuProgramUsage * | mShadowCasterVertexProgramUsage |
GpuProgramUsage * | mShadowReceiverVertexProgramUsage |
GpuProgramUsage * | mFragmentProgramUsage |
GpuProgramUsage * | mShadowReceiverFragmentProgramUsage |
bool | mQueuedForDeletion |
size_t | mPassIterationCount |
Real | mPointSize |
Real | mPointMinSize |
Real | mPointMaxSize |
bool | mPointSpritesEnabled |
bool | mPointAttenuationEnabled |
Real | mPointAttenuationCoeffs [3] |
ContentTypeLookup | mShadowContentTypeLookup |
bool | mContentTypeLookupBuilt |
Static Protected Attributes | |
static PassSet | msDirtyHashList |
List of Passes whose hashes need recalculating. | |
static PassSet | msPassGraveyard |
The place where passes go to die. | |
static HashFunc * | msHashFunc |
The Pass hash functor. | |
Classes | |
struct | HashFunc |
Definition of a functor for calculating the hashcode of a Pass. More... |
Definition at line 60 of file OgrePass.h.
typedef std::vector<TextureUnitState*> Ogre::Pass::TextureUnitStates [protected] |
typedef std::vector<unsigned short> Ogre::Pass::ContentTypeLookup [protected] |
Definition at line 178 of file OgrePass.h.
typedef std::set<Pass*> Ogre::Pass::PassSet |
Definition at line 183 of file OgrePass.h.
Definition at line 486 of file OgrePass.h.
Definition at line 490 of file OgrePass.h.
There are some default hash functions used to order passes so that render state changes are minimised, this enumerates them.
Definition at line 1244 of file OgrePass.h.
Ogre::Pass::Pass | ( | Technique * | parent, | |
unsigned short | index | |||
) |
Default constructor.
Ogre::Pass::~Pass | ( | ) |
Ogre::Pass::OGRE_STATIC_MUTEX | ( | msDirtyHashListMutex | ) |
Ogre::Pass::OGRE_STATIC_MUTEX | ( | msPassGraveyardMutex | ) |
bool Ogre::Pass::isProgrammable | ( | void | ) | const |
Returns true if this pass is programmable ie includes either a vertex or fragment program.
Definition at line 203 of file OgrePass.h.
bool Ogre::Pass::hasVertexProgram | ( | void | ) | const |
Returns true if this pass uses a programmable vertex pipeline.
Definition at line 205 of file OgrePass.h.
bool Ogre::Pass::hasFragmentProgram | ( | void | ) | const |
Returns true if this pass uses a programmable fragment pipeline.
Definition at line 207 of file OgrePass.h.
bool Ogre::Pass::hasShadowCasterVertexProgram | ( | void | ) | const |
Returns true if this pass uses a shadow caster vertex program.
Definition at line 209 of file OgrePass.h.
bool Ogre::Pass::hasShadowReceiverVertexProgram | ( | void | ) | const |
Returns true if this pass uses a shadow receiver vertex program.
Definition at line 211 of file OgrePass.h.
bool Ogre::Pass::hasShadowReceiverFragmentProgram | ( | void | ) | const |
Returns true if this pass uses a shadow receiver fragment program.
Definition at line 213 of file OgrePass.h.
unsigned short Ogre::Pass::getIndex | ( | void | ) | const |
void Ogre::Pass::setName | ( | const String & | name | ) |
const String& Ogre::Pass::getName | ( | void | ) | const |
Sets the ambient colour reflectance properties of this pass.
void Ogre::Pass::setAmbient | ( | const ColourValue & | ambient | ) |
Sets the ambient colour reflectance properties of this pass.
Sets the diffuse colour reflectance properties of this pass.
void Ogre::Pass::setDiffuse | ( | const ColourValue & | diffuse | ) |
Sets the diffuse colour reflectance properties of this pass.
Sets the specular colour reflectance properties of this pass.
This setting has no effect if dynamic lighting is disabled (see Pass::setLightingEnabled), or if this is a programmable pass.
void Ogre::Pass::setSpecular | ( | const ColourValue & | specular | ) |
Sets the specular colour reflectance properties of this pass.
This setting has no effect if dynamic lighting is disabled (see Pass::setLightingEnabled), or if this is a programmable pass.
void Ogre::Pass::setShininess | ( | Real | val | ) |
Sets the shininess of the pass, affecting the size of specular highlights.
Sets the amount of self-illumination an object has.
void Ogre::Pass::setSelfIllumination | ( | const ColourValue & | selfIllum | ) |
Sets the amount of self-illumination an object has.
void Ogre::Pass::setVertexColourTracking | ( | TrackVertexColourType | tracking | ) |
Sets which material properties follow the vertex colour.
Real Ogre::Pass::getPointSize | ( | void | ) | const |
Gets the point size of the pass.
void Ogre::Pass::setPointSize | ( | Real | ps | ) |
Sets the point size of this pass.
void Ogre::Pass::setPointSpritesEnabled | ( | bool | enabled | ) |
Sets whether or not rendering points using OT_POINT_LIST will render point sprites (textured quads) or plain points (dots).
enabled | True enables point sprites, false returns to normal point rendering. |
bool Ogre::Pass::getPointSpritesEnabled | ( | void | ) | const |
Returns whether point sprites are enabled when rendering a point list.
void Ogre::Pass::setPointAttenuation | ( | bool | enabled, | |
Real | constant = 0.0f , |
|||
Real | linear = 1.0f , |
|||
Real | quadratic = 0.0f | |||
) |
Sets how points are attenuated with distance.
enabled | Whether point attenuation is enabled | |
constant,linear,quadratic | Parameters to the attentuation function defined above |
bool Ogre::Pass::isPointAttenuationEnabled | ( | void | ) | const |
Returns whether points are attenuated with distance.
Real Ogre::Pass::getPointAttenuationConstant | ( | void | ) | const |
Returns the constant coefficient of point attenuation.
Real Ogre::Pass::getPointAttenuationLinear | ( | void | ) | const |
Returns the linear coefficient of point attenuation.
Real Ogre::Pass::getPointAttenuationQuadratic | ( | void | ) | const |
Returns the quadratic coefficient of point attenuation.
void Ogre::Pass::setPointMinSize | ( | Real | min | ) |
Set the minimum point size, when point attenuation is in use.
Real Ogre::Pass::getPointMinSize | ( | void | ) | const |
Get the minimum point size, when point attenuation is in use.
void Ogre::Pass::setPointMaxSize | ( | Real | max | ) |
Set the maximum point size, when point attenuation is in use.
Real Ogre::Pass::getPointMaxSize | ( | void | ) | const |
Get the maximum point size, when point attenuation is in use.
const ColourValue& Ogre::Pass::getAmbient | ( | void | ) | const |
Gets the ambient colour reflectance of the pass.
const ColourValue& Ogre::Pass::getDiffuse | ( | void | ) | const |
Gets the diffuse colour reflectance of the pass.
const ColourValue& Ogre::Pass::getSpecular | ( | void | ) | const |
Gets the specular colour reflectance of the pass.
const ColourValue& Ogre::Pass::getSelfIllumination | ( | void | ) | const |
Gets the self illumination colour of the pass.
Real Ogre::Pass::getShininess | ( | void | ) | const |
Gets the 'shininess' property of the pass (affects specular highlights).
TrackVertexColourType Ogre::Pass::getVertexColourTracking | ( | void | ) | const |
Gets which material properties follow the vertex colour.
TextureUnitState* Ogre::Pass::createTextureUnitState | ( | void | ) |
Inserts a new TextureUnitState object into the Pass.
TextureUnitState* Ogre::Pass::createTextureUnitState | ( | const String & | textureName, | |
unsigned short | texCoordSet = 0 | |||
) |
Inserts a new TextureUnitState object into the Pass.
name | The basic name of the texture e.g. brickwall.jpg, stonefloor.png | |
texCoordSet | The index of the texture coordinate set to use. |
void Ogre::Pass::addTextureUnitState | ( | TextureUnitState * | state | ) |
Adds the passed in TextureUnitState, to the existing Pass.
state | The Texture Unit State to be attached to this pass. It must not be attached to another pass. |
TextureUnitState* Ogre::Pass::getTextureUnitState | ( | unsigned short | index | ) |
Retrieves a pointer to a texture unit state so it may be modified.
TextureUnitState* Ogre::Pass::getTextureUnitState | ( | const String & | name | ) |
Retrieves the Texture Unit State matching name.
Returns 0 if name match is not found.
const TextureUnitState* Ogre::Pass::getTextureUnitState | ( | unsigned short | index | ) | const |
Retrieves a const pointer to a texture unit state.
const TextureUnitState* Ogre::Pass::getTextureUnitState | ( | const String & | name | ) | const |
Retrieves the Texture Unit State matching name.
Returns 0 if name match is not found.
unsigned short Ogre::Pass::getTextureUnitStateIndex | ( | const TextureUnitState * | state | ) | const |
TextureUnitStateIterator Ogre::Pass::getTextureUnitStateIterator | ( | void | ) |
Get an iterator over the TextureUnitStates contained in this Pass.
ConstTextureUnitStateIterator Ogre::Pass::getTextureUnitStateIterator | ( | void | ) | const |
Get an iterator over the TextureUnitStates contained in this Pass.
void Ogre::Pass::removeTextureUnitState | ( | unsigned short | index | ) |
Removes the indexed texture unit state from this pass.
void Ogre::Pass::removeAllTextureUnitStates | ( | void | ) |
Removes all texture unit settings.
unsigned short Ogre::Pass::getNumTextureUnitStates | ( | void | ) | const |
void Ogre::Pass::setSceneBlending | ( | const SceneBlendType | sbt | ) |
Sets the kind of blending this pass has with the existing contents of the scene.
sbt | One of the predefined SceneBlendType blending types |
void Ogre::Pass::setSceneBlending | ( | const SceneBlendFactor | sourceFactor, | |
const SceneBlendFactor | destFactor | |||
) |
Allows very fine control of blending this Pass with the existing contents of the scene.
sourceFactor | The source factor in the above calculation, i.e. multiplied by the texture colour components. | |
destFactor | The destination factor in the above calculation, i.e. multiplied by the pixel colour components. |
SceneBlendFactor Ogre::Pass::getSourceBlendFactor | ( | ) | const |
Retrieves the source blending factor for the material (as set using Materiall::setSceneBlending).
SceneBlendFactor Ogre::Pass::getDestBlendFactor | ( | ) | const |
Retrieves the destination blending factor for the material (as set using Materiall::setSceneBlending).
bool Ogre::Pass::isTransparent | ( | void | ) | const |
Returns true if this pass has some element of transparency.
void Ogre::Pass::setDepthCheckEnabled | ( | bool | enabled | ) |
Sets whether or not this pass renders with depth-buffer checking on or not.
bool Ogre::Pass::getDepthCheckEnabled | ( | void | ) | const |
Returns whether or not this pass renders with depth-buffer checking on or not.
void Ogre::Pass::setDepthWriteEnabled | ( | bool | enabled | ) |
Sets whether or not this pass renders with depth-buffer writing on or not.
bool Ogre::Pass::getDepthWriteEnabled | ( | void | ) | const |
Returns whether or not this pass renders with depth-buffer writing on or not.
void Ogre::Pass::setDepthFunction | ( | CompareFunction | func | ) |
Sets the function used to compare depth values when depth checking is on.
CompareFunction Ogre::Pass::getDepthFunction | ( | void | ) | const |
Returns the function used to compare depth values when depth checking is on.
void Ogre::Pass::setColourWriteEnabled | ( | bool | enabled | ) |
Sets whether or not colour buffer writing is enabled for this Pass.
bool Ogre::Pass::getColourWriteEnabled | ( | void | ) | const |
Determines if colour buffer writing is enabled for this pass.
void Ogre::Pass::setCullingMode | ( | CullingMode | mode | ) |
Sets the culling mode for this pass based on the 'vertex winding'.
CullingMode Ogre::Pass::getCullingMode | ( | void | ) | const |
Returns the culling mode for geometry rendered with this pass.
See setCullingMode for more information.
void Ogre::Pass::setManualCullingMode | ( | ManualCullingMode | mode | ) |
Sets the manual culling mode, performed by CPU rather than hardware.
In some situations you want to use manual culling of triangles rather than sending the triangles to the hardware and letting it cull them. This setting only takes effect on SceneManager's that use it (since it is best used on large groups of planar world geometry rather than on movable geometry since this would be expensive), but if used can cull geometry before it is sent to the hardware.
mode | The mode to use - see enum ManualCullingMode for details |
ManualCullingMode Ogre::Pass::getManualCullingMode | ( | void | ) | const |
void Ogre::Pass::setLightingEnabled | ( | bool | enabled | ) |
Sets whether or not dynamic lighting is enabled.
enabled | If true, dynamic lighting is performed on geometry with normals supplied, geometry without normals will not be displayed. |
bool Ogre::Pass::getLightingEnabled | ( | void | ) | const |
Returns whether or not dynamic lighting is enabled.
void Ogre::Pass::setMaxSimultaneousLights | ( | unsigned short | maxLights | ) |
Sets the maximum number of lights to be used by this pass.
unsigned short Ogre::Pass::getMaxSimultaneousLights | ( | void | ) | const |
Gets the maximum number of lights to be used by this pass.
void Ogre::Pass::setStartLight | ( | unsigned short | startLight | ) |
Sets the light index that this pass will start at in the light list.
unsigned short Ogre::Pass::getStartLight | ( | void | ) | const |
Gets the light index that this pass will start at in the light list.
void Ogre::Pass::setShadingMode | ( | ShadeOptions | mode | ) |
Sets the type of light shading required.
ShadeOptions Ogre::Pass::getShadingMode | ( | void | ) | const |
Returns the type of light shading to be used.
void Ogre::Pass::setPolygonMode | ( | PolygonMode | mode | ) |
Sets the type of polygon rendering required.
PolygonMode Ogre::Pass::getPolygonMode | ( | void | ) | const |
Returns the type of light shading to be used.
void Ogre::Pass::setFog | ( | bool | overrideScene, | |
FogMode | mode = FOG_NONE , |
|||
const ColourValue & | colour = ColourValue::White , |
|||
Real | expDensity = 0.001 , |
|||
Real | linearStart = 0.0 , |
|||
Real | linearEnd = 1.0 | |||
) |
Sets the fogging mode applied to this pass.
overrideScene | If true, you authorise this pass to override the scene's fog params with it's own settings. If you specify false, so other parameters are necessary, and this is the default behaviour for passs. | |
mode | Only applicable if overrideScene is true. You can disable fog which is turned on for the rest of the scene by specifying FOG_NONE. Otherwise, set a pass-specific fog mode as defined in the enum FogMode. | |
colour | The colour of the fog. Either set this to the same as your viewport background colour, or to blend in with a skydome or skybox. | |
expDensity | The density of the fog in FOG_EXP or FOG_EXP2 mode, as a value between 0 and 1. The default is 0.001. | |
linearStart | Distance in world units at which linear fog starts to encroach. Only applicable if mode is FOG_LINEAR. | |
linearEnd | Distance in world units at which linear fog becomes completely opaque. Only applicable if mode is FOG_LINEAR. |
bool Ogre::Pass::getFogOverride | ( | void | ) | const |
Returns true if this pass is to override the scene fog settings.
FogMode Ogre::Pass::getFogMode | ( | void | ) | const |
Returns the fog mode for this pass.
const ColourValue& Ogre::Pass::getFogColour | ( | void | ) | const |
Returns the fog colour for the scene.
Real Ogre::Pass::getFogStart | ( | void | ) | const |
Returns the fog start distance for this pass.
Real Ogre::Pass::getFogEnd | ( | void | ) | const |
Returns the fog end distance for this pass.
Real Ogre::Pass::getFogDensity | ( | void | ) | const |
Returns the fog density for this pass.
void Ogre::Pass::setDepthBias | ( | float | constantBias, | |
float | slopeScaleBias = 0.0f | |||
) |
Sets the depth bias to be used for this material.
finalBias = maxSlope * slopeScaleBias + constantBiasNote that slope scale bias, whilst more accurate, may be ignored by old hardware.
constantBias | The constant bias value, expressed as a factor of the minimum observable depth | |
slopeScaleBias | The slope-relative bias value, expressed as a factor of the depth slope |
float Ogre::Pass::getDepthBiasConstant | ( | void | ) | const |
Retrieves the const depth bias value as set by setDepthBias.
float Ogre::Pass::getDepthBiasSlopeScale | ( | void | ) | const |
Retrieves the slope-scale depth bias value as set by setDepthBias.
void Ogre::Pass::setAlphaRejectSettings | ( | CompareFunction | func, | |
unsigned char | value | |||
) |
Sets the way the pass will have use alpha to totally reject pixels from the pipeline.
func | The comparison which must pass for the pixel to be written. | |
value | 1 byte value against which alpha values will be tested(0-255) |
void Ogre::Pass::setAlphaRejectFunction | ( | CompareFunction | func | ) |
Sets the alpha reject function.
See setAlphaRejectSettings for more information.
void Ogre::Pass::setAlphaRejectValue | ( | unsigned char | val | ) |
Gets the alpha reject value.
See setAlphaRejectSettings for more information.
CompareFunction Ogre::Pass::getAlphaRejectFunction | ( | void | ) | const |
Gets the alpha reject function.
See setAlphaRejectSettings for more information.
Definition at line 842 of file OgrePass.h.
unsigned char Ogre::Pass::getAlphaRejectValue | ( | void | ) | const |
Gets the alpha reject value.
See setAlphaRejectSettings for more information.
Definition at line 846 of file OgrePass.h.
void Ogre::Pass::setIteratePerLight | ( | bool | enabled, | |
bool | onlyForOneLightType = true , |
|||
Light::LightTypes | lightType = Light::LT_POINT | |||
) |
Sets whether or not this pass should iterate per light or number of lights which can affect the object being rendered.
enabled | Whether this feature is enabled | |
onlyForOneLightType | If true, the pass will only be run for a single type of light, other light types will be ignored. | |
lightType | The single light type which will be considered for this pass |
bool Ogre::Pass::getIteratePerLight | ( | void | ) | const |
bool Ogre::Pass::getRunOnlyForOneLightType | ( | void | ) | const |
Does this pass run only for a single light type (if getIteratePerLight is true).
Definition at line 895 of file OgrePass.h.
Light::LightTypes Ogre::Pass::getOnlyLightType | ( | ) | const |
Gets the single light type this pass runs for if getIteratePerLight and getRunOnlyForOneLightType are both true.
Definition at line 898 of file OgrePass.h.
void Ogre::Pass::setLightCountPerIteration | ( | unsigned short | c | ) |
If light iteration is enabled, determine the number of lights per iteration.
unsigned short Ogre::Pass::getLightCountPerIteration | ( | void | ) | const |
If light iteration is enabled, determine the number of lights per iteration.
Technique* Ogre::Pass::getParent | ( | void | ) | const |
const String& Ogre::Pass::getResourceGroup | ( | void | ) | const |
Gets the resource group of the ultimate parent Material.
void Ogre::Pass::setVertexProgram | ( | const String & | name, | |
bool | resetParams = true | |||
) |
Sets the details of the vertex program to use.
name | The name of the program - this must have been created using GpuProgramManager by the time that this Pass is loaded. If this parameter is blank, any vertex program in this pass is disabled. | |
resetParams | If true, this will create a fresh set of parameters from the new program being linked, so if you had previously set parameters you will have to set them again. If you set this to false, you must be absolutely sure that the parameters match perfectly, and in the case of named parameters refers to the indexes underlying them, not just the names. |
void Ogre::Pass::setVertexProgramParameters | ( | GpuProgramParametersSharedPtr | params | ) |
Sets the vertex program parameters.
const String& Ogre::Pass::getVertexProgramName | ( | void | ) | const |
Gets the name of the vertex program used by this pass.
GpuProgramParametersSharedPtr Ogre::Pass::getVertexProgramParameters | ( | void | ) | const |
Gets the vertex program parameters used by this pass.
const GpuProgramPtr& Ogre::Pass::getVertexProgram | ( | void | ) | const |
Gets the vertex program used by this pass, only available after _load().
void Ogre::Pass::setShadowCasterVertexProgram | ( | const String & | name | ) |
Sets the details of the vertex program to use when rendering as a shadow caster.
This is only applicable to programmable passes.
void Ogre::Pass::setShadowCasterVertexProgramParameters | ( | GpuProgramParametersSharedPtr | params | ) |
Sets the vertex program parameters for rendering as a shadow caster.
const String& Ogre::Pass::getShadowCasterVertexProgramName | ( | void | ) | const |
Gets the name of the vertex program used by this pass when rendering shadow casters.
GpuProgramParametersSharedPtr Ogre::Pass::getShadowCasterVertexProgramParameters | ( | void | ) | const |
Gets the vertex program parameters used by this pass when rendering shadow casters.
const GpuProgramPtr& Ogre::Pass::getShadowCasterVertexProgram | ( | void | ) | const |
Gets the vertex program used by this pass when rendering shadow casters, only available after _load().
void Ogre::Pass::setShadowReceiverVertexProgram | ( | const String & | name | ) |
Sets the details of the vertex program to use when rendering as a shadow receiver.
void Ogre::Pass::setShadowReceiverVertexProgramParameters | ( | GpuProgramParametersSharedPtr | params | ) |
Sets the vertex program parameters for rendering as a shadow receiver.
void Ogre::Pass::setShadowReceiverFragmentProgram | ( | const String & | name | ) |
This method allows you to specify a fragment program for use when rendering a texture shadow receiver.
void Ogre::Pass::setShadowReceiverFragmentProgramParameters | ( | GpuProgramParametersSharedPtr | params | ) |
Sets the fragment program parameters for rendering as a shadow receiver.
const String& Ogre::Pass::getShadowReceiverVertexProgramName | ( | void | ) | const |
Gets the name of the vertex program used by this pass when rendering shadow receivers.
GpuProgramParametersSharedPtr Ogre::Pass::getShadowReceiverVertexProgramParameters | ( | void | ) | const |
Gets the vertex program parameters used by this pass when rendering shadow receivers.
const GpuProgramPtr& Ogre::Pass::getShadowReceiverVertexProgram | ( | void | ) | const |
Gets the vertex program used by this pass when rendering shadow receivers, only available after _load().
const String& Ogre::Pass::getShadowReceiverFragmentProgramName | ( | void | ) | const |
Gets the name of the fragment program used by this pass when rendering shadow receivers.
GpuProgramParametersSharedPtr Ogre::Pass::getShadowReceiverFragmentProgramParameters | ( | void | ) | const |
Gets the fragment program parameters used by this pass when rendering shadow receivers.
const GpuProgramPtr& Ogre::Pass::getShadowReceiverFragmentProgram | ( | void | ) | const |
Gets the fragment program used by this pass when rendering shadow receivers, only available after _load().
void Ogre::Pass::setFragmentProgram | ( | const String & | name, | |
bool | resetParams = true | |||
) |
Sets the details of the fragment program to use.
name | The name of the program - this must have been created using GpuProgramManager by the time that this Pass is loaded. If this parameter is blank, any fragment program in this pass is disabled. | |
resetParams | If true, this will create a fresh set of parameters from the new program being linked, so if you had previously set parameters you will have to set them again. If you set this to false, you must be absolutely sure that the parameters match perfectly, and in the case of named parameters refers to the indexes underlying them, not just the names. |
void Ogre::Pass::setFragmentProgramParameters | ( | GpuProgramParametersSharedPtr | params | ) |
Sets the fragment program parameters.
const String& Ogre::Pass::getFragmentProgramName | ( | void | ) | const |
Gets the name of the fragment program used by this pass.
GpuProgramParametersSharedPtr Ogre::Pass::getFragmentProgramParameters | ( | void | ) | const |
Gets the fragment program parameters used by this pass.
const GpuProgramPtr& Ogre::Pass::getFragmentProgram | ( | void | ) | const |
Gets the fragment program used by this pass, only available after _load().
Pass* Ogre::Pass::_split | ( | unsigned short | numUnits | ) |
Splits this Pass to one which can be handled in the number of texture units specified.
numUnits | The target number of texture units |
void Ogre::Pass::_notifyIndex | ( | unsigned short | index | ) |
Internal method to adjust pass index.
void Ogre::Pass::_load | ( | void | ) |
Internal method for loading this pass.
void Ogre::Pass::_unload | ( | void | ) |
Internal method for unloading this pass.
bool Ogre::Pass::isLoaded | ( | void | ) | const |
uint32 Ogre::Pass::getHash | ( | void | ) | const |
Gets the 'hash' of this pass, ie a precomputed number to use for sorting.
Definition at line 1135 of file OgrePass.h.
Referenced by Ogre::QueuedRenderableCollection::RadixSortFunctorPass::operator()(), Ogre::QueuedRenderableCollection::DepthSortDescendingLess::operator()(), and Ogre::QueuedRenderableCollection::PassGroupLess::operator()().
void Ogre::Pass::_dirtyHash | ( | void | ) |
Mark the hash as dirty.
void Ogre::Pass::_recalculateHash | ( | void | ) |
Internal method for recalculating the hash.
void Ogre::Pass::_notifyNeedsRecompile | ( | void | ) |
Tells the pass that it needs recompilation.
void Ogre::Pass::_updateAutoParamsNoLights | ( | const AutoParamDataSource & | source | ) | const |
Update any automatic parameters (except lights) on this pass.
void Ogre::Pass::_updateAutoParamsLightsOnly | ( | const AutoParamDataSource & | source | ) | const |
Update any automatic light parameters on this pass.
unsigned short Ogre::Pass::_getTextureUnitWithContentTypeIndex | ( | TextureUnitState::ContentType | contentType, | |
unsigned short | index | |||
) | const |
Gets the 'nth' texture which references the given content type.
void Ogre::Pass::setTextureFiltering | ( | TextureFilterOptions | filterType | ) |
Set texture filtering for every texture unit.
void Ogre::Pass::setTextureAnisotropy | ( | unsigned int | maxAniso | ) |
Sets the anisotropy level to be used for all textures.
static const PassSet& Ogre::Pass::getDirtyHashList | ( | void | ) | [static] |
Static method to retrieve all the Passes which need their hash values recalculated.
Definition at line 1183 of file OgrePass.h.
static const PassSet& Ogre::Pass::getPassGraveyard | ( | void | ) | [static] |
Static method to retrieve all the Passes which are pending deletion.
Definition at line 1187 of file OgrePass.h.
static void Ogre::Pass::clearDirtyHashList | ( | void | ) | [static] |
Static method to reset the list of passes which need their hash values recalculated.
static void Ogre::Pass::processPendingPassUpdates | ( | void | ) | [static] |
Process all dirty and pending deletion passes.
void Ogre::Pass::queueForDeletion | ( | void | ) |
Queue this pass for deletion when appropriate.
bool Ogre::Pass::isAmbientOnly | ( | void | ) | const |
Returns whether this pass is ambient only.
void Ogre::Pass::setPassIterationCount | ( | const size_t | count | ) |
set the number of iterations that this pass should perform when doing fast multi pass operation.
count | number of iterations to perform fast multi pass operations. A value greater than 1 will cause the pass to be executed count number of times without changing the render state. This is very usefull for passes that use programmable shaders that have to iterate more than once but don't need a render state change. Using multi pass can dramatically speed up rendering for materials that do things like fur, blur. A value of 1 turns off multi pass operation and the pass does the normal pass operation. |
Definition at line 1221 of file OgrePass.h.
size_t Ogre::Pass::getPassIterationCount | ( | void | ) | const |
bool Ogre::Pass::applyTextureAliases | ( | const AliasTextureNamePairList & | aliasList, | |
const bool | apply = true | |||
) | const |
Applies texture names to Texture Unit State with matching texture name aliases.
All Texture Unit States within the pass are checked. If matching texture aliases are found then true is returned.
aliasList | is a map container of texture alias, texture name pairs | |
apply | set true to apply the texture aliases else just test to see if texture alias matches are found. |
static void Ogre::Pass::setHashFunction | ( | BuiltinHashFunction | builtin | ) | [static] |
Sets one of the default hash functions to be used.
static void Ogre::Pass::setHashFunction | ( | HashFunc * | hashFunc | ) | [static] |
Set the hash function used for all passes.
Definition at line 1279 of file OgrePass.h.
static HashFunc* Ogre::Pass::getHashFunction | ( | void | ) | [static] |
Technique* Ogre::Pass::mParent [protected] |
Definition at line 80 of file OgrePass.h.
unsigned short Ogre::Pass::mIndex [protected] |
Definition at line 81 of file OgrePass.h.
String Ogre::Pass::mName [protected] |
Definition at line 82 of file OgrePass.h.
uint32 Ogre::Pass::mHash [protected] |
Definition at line 83 of file OgrePass.h.
ColourValue Ogre::Pass::mAmbient [protected] |
Definition at line 86 of file OgrePass.h.
ColourValue Ogre::Pass::mDiffuse [protected] |
Definition at line 87 of file OgrePass.h.
ColourValue Ogre::Pass::mSpecular [protected] |
Definition at line 88 of file OgrePass.h.
ColourValue Ogre::Pass::mEmissive [protected] |
Definition at line 89 of file OgrePass.h.
Real Ogre::Pass::mShininess [protected] |
Definition at line 90 of file OgrePass.h.
TrackVertexColourType Ogre::Pass::mTracking [protected] |
Definition at line 91 of file OgrePass.h.
SceneBlendFactor Ogre::Pass::mSourceBlendFactor [protected] |
Definition at line 96 of file OgrePass.h.
SceneBlendFactor Ogre::Pass::mDestBlendFactor [protected] |
Definition at line 97 of file OgrePass.h.
bool Ogre::Pass::mDepthCheck [protected] |
Definition at line 102 of file OgrePass.h.
bool Ogre::Pass::mDepthWrite [protected] |
Definition at line 103 of file OgrePass.h.
CompareFunction Ogre::Pass::mDepthFunc [protected] |
Definition at line 104 of file OgrePass.h.
float Ogre::Pass::mDepthBiasConstant [protected] |
Definition at line 105 of file OgrePass.h.
float Ogre::Pass::mDepthBiasSlopeScale [protected] |
Definition at line 106 of file OgrePass.h.
bool Ogre::Pass::mColourWrite [protected] |
Definition at line 109 of file OgrePass.h.
CompareFunction Ogre::Pass::mAlphaRejectFunc [protected] |
Definition at line 112 of file OgrePass.h.
unsigned char Ogre::Pass::mAlphaRejectVal [protected] |
Definition at line 113 of file OgrePass.h.
CullingMode Ogre::Pass::mCullMode [protected] |
Definition at line 118 of file OgrePass.h.
ManualCullingMode Ogre::Pass::mManualCullMode [protected] |
Definition at line 119 of file OgrePass.h.
bool Ogre::Pass::mLightingEnabled [protected] |
unsigned short Ogre::Pass::mMaxSimultaneousLights [protected] |
unsigned short Ogre::Pass::mStartLight [protected] |
bool Ogre::Pass::mIteratePerLight [protected] |
unsigned short Ogre::Pass::mLightsPerIteration [protected] |
bool Ogre::Pass::mRunOnlyForOneLightType [protected] |
Definition at line 133 of file OgrePass.h.
Light::LightTypes Ogre::Pass::mOnlyLightType [protected] |
Definition at line 134 of file OgrePass.h.
ShadeOptions Ogre::Pass::mShadeOptions [protected] |
PolygonMode Ogre::Pass::mPolygonMode [protected] |
bool Ogre::Pass::mFogOverride [protected] |
Definition at line 143 of file OgrePass.h.
FogMode Ogre::Pass::mFogMode [protected] |
Definition at line 144 of file OgrePass.h.
ColourValue Ogre::Pass::mFogColour [protected] |
Definition at line 145 of file OgrePass.h.
Real Ogre::Pass::mFogStart [protected] |
Definition at line 146 of file OgrePass.h.
Real Ogre::Pass::mFogEnd [protected] |
Definition at line 147 of file OgrePass.h.
Real Ogre::Pass::mFogDensity [protected] |
Definition at line 148 of file OgrePass.h.
TextureUnitStates Ogre::Pass::mTextureUnitStates [protected] |
Definition at line 153 of file OgrePass.h.
GpuProgramUsage* Ogre::Pass::mVertexProgramUsage [protected] |
Definition at line 156 of file OgrePass.h.
Definition at line 158 of file OgrePass.h.
Definition at line 160 of file OgrePass.h.
GpuProgramUsage* Ogre::Pass::mFragmentProgramUsage [protected] |
Definition at line 162 of file OgrePass.h.
Definition at line 164 of file OgrePass.h.
bool Ogre::Pass::mQueuedForDeletion [protected] |
Definition at line 166 of file OgrePass.h.
size_t Ogre::Pass::mPassIterationCount [protected] |
Definition at line 168 of file OgrePass.h.
Real Ogre::Pass::mPointSize [protected] |
Definition at line 170 of file OgrePass.h.
Real Ogre::Pass::mPointMinSize [protected] |
Definition at line 171 of file OgrePass.h.
Real Ogre::Pass::mPointMaxSize [protected] |
Definition at line 172 of file OgrePass.h.
bool Ogre::Pass::mPointSpritesEnabled [protected] |
Definition at line 173 of file OgrePass.h.
bool Ogre::Pass::mPointAttenuationEnabled [protected] |
Definition at line 174 of file OgrePass.h.
Real Ogre::Pass::mPointAttenuationCoeffs[3] [protected] |
Definition at line 176 of file OgrePass.h.
ContentTypeLookup Ogre::Pass::mShadowContentTypeLookup [mutable, protected] |
Definition at line 179 of file OgrePass.h.
bool Ogre::Pass::mContentTypeLookupBuilt [mutable, protected] |
Definition at line 180 of file OgrePass.h.
PassSet Ogre::Pass::msDirtyHashList [static, protected] |
PassSet Ogre::Pass::msPassGraveyard [static, protected] |
HashFunc* Ogre::Pass::msHashFunc [static, protected] |
Copyright © 2000-2005 by The OGRE Team
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Mon Jun 16 12:51:39 2008