Ogre::Pass Class Reference

Class defining a single pass of a Technique (of a Material), i.e. More...

#include <OgrePass.h>

Inheritance diagram for Ogre::Pass:

Inheritance graph
[legend]

List of all members.

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

 Pass (Technique *parent, unsigned short index)
 Default constructor.
 Pass (Technique *parent, unsigned short index, const Pass &oth)
 Copy constructor.
Passoperator= (const Pass &oth)
 Operator = overload.
virtual ~Pass ()
bool isProgrammable (void) const
 Returns true if this pass is programmable i.e. 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 hasGeometryProgram (void) const
 Returns true if this pass uses a programmable geometry 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 StringgetName (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 ColourValuegetAmbient (void) const
 Gets the ambient colour reflectance of the pass.
const ColourValuegetDiffuse (void) const
 Gets the diffuse colour reflectance of the pass.
const ColourValuegetSpecular (void) const
 Gets the specular colour reflectance of the pass.
const ColourValuegetSelfIllumination (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.
TextureUnitStatecreateTextureUnitState (void)
 Inserts a new TextureUnitState object into the Pass.
TextureUnitStatecreateTextureUnitState (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.
TextureUnitStategetTextureUnitState (unsigned short index)
 Retrieves a pointer to a texture unit state so it may be modified.
TextureUnitStategetTextureUnitState (const String &name)
 Retrieves the Texture Unit State matching name.
const TextureUnitStategetTextureUnitState (unsigned short index) const
 Retrieves a const pointer to a texture unit state.
const TextureUnitStategetTextureUnitState (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 setSeparateSceneBlending (const SceneBlendType sbt, const SceneBlendType sbta)
 Sets the kind of blending this pass has with the existing contents of the scene, separately for color and alpha channels.
void setSceneBlending (const SceneBlendFactor sourceFactor, const SceneBlendFactor destFactor)
 Allows very fine control of blending this Pass with the existing contents of the scene.
void setSeparateSceneBlending (const SceneBlendFactor sourceFactor, const SceneBlendFactor destFactor, const SceneBlendFactor sourceFactorAlpha, const SceneBlendFactor destFactorAlpha)
 Allows very fine control of blending this Pass with the existing contents of the scene.
bool hasSeparateSceneBlending () const
 Return true if this pass uses separate scene blending.
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).
SceneBlendFactor getSourceBlendFactorAlpha () const
 Retrieves the alpha source blending factor for the material (as set using Materiall::setSeparateSceneBlending).
SceneBlendFactor getDestBlendFactorAlpha () const
 Retrieves the alpha destination blending factor for the material (as set using Materiall::setSeparateSceneBlending).
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.
virtual void setPolygonModeOverrideable (bool override)
 Sets whether this pass's chosen detail level can be overridden (downgraded) by the camera setting.
virtual bool getPolygonModeOverrideable (void) const
 Gets whether this renderable's chosen detail level can be overridden (downgraded) by the camera setting.
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 ColourValuegetFogColour (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 setIterationDepthBias (float biasPerIteration)
 Sets a factor which derives an additional depth bias from the number of times a pass is iterated.
float getIterationDepthBias () const
 Gets a factor which derives an additional depth bias from the number of times a pass is iterated.
void setAlphaRejectSettings (CompareFunction func, unsigned char value, bool alphaToCoverageEnabled=false)
 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 setAlphaToCoverageEnabled (bool enabled)
 Sets whether to use alpha to coverage (A2C) when blending alpha rejected values.
bool isAlphaToCoverageEnabled () const
 Gets whether to use alpha to coverage (A2C) when blending alpha rejected values.
void setTransparentSortingEnabled (bool enabled)
 Sets whether or not transparent sorting is enabled.
bool getTransparentSortingEnabled (void) const
 Returns whether or not transparent sorting is enabled.
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.
TechniquegetParent (void) const
 Gets the parent Technique.
const StringgetResourceGroup (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 StringgetVertexProgramName (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 GpuProgramPtrgetVertexProgram (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 StringgetShadowCasterVertexProgramName (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 GpuProgramPtrgetShadowCasterVertexProgram (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 StringgetShadowReceiverVertexProgramName (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 GpuProgramPtrgetShadowReceiverVertexProgram (void) const
 Gets the vertex program used by this pass when rendering shadow receivers, only available after _load().
const StringgetShadowReceiverFragmentProgramName (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 GpuProgramPtrgetShadowReceiverFragmentProgram (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 StringgetFragmentProgramName (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 GpuProgramPtrgetFragmentProgram (void) const
 Gets the fragment program used by this pass, only available after _load().
void setGeometryProgram (const String &name, bool resetParams=true)
 Sets the details of the geometry program to use.
void setGeometryProgramParameters (GpuProgramParametersSharedPtr params)
 Sets the geometry program parameters.
const StringgetGeometryProgramName (void) const
 Gets the name of the geometry program used by this pass.
GpuProgramParametersSharedPtr getGeometryProgramParameters (void) const
 Gets the geometry program parameters used by this pass.
const GpuProgramPtrgetGeometryProgram (void) const
 Gets the geometry 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 _prepare (void)
 Internal method for preparing to load this pass.
void _unprepare (void)
 Internal method for undoing the load preparartion for this pass.
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 setNormaliseNormals (bool normalise)
 If set to true, this forces normals to be normalised dynamically by the hardware for this pass.
bool getNormaliseNormals (void) const
 Returns true if this pass has auto-normalisation of normals set.
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.
void setLightScissoringEnabled (bool enabled)
 Sets whether or not this pass will be clipped by a scissor rectangle encompassing the lights that are being used in it.
bool getLightScissoringEnabled () const
 Gets whether or not this pass will be clipped by a scissor rectangle encompassing the lights that are being used in it.
void setLightClipPlanesEnabled (bool enabled)
 Gets whether or not this pass will be clipped by user clips planes bounding the area covered by the light.
bool getLightClipPlanesEnabled () const
 Gets whether or not this pass will be clipped by user clips planes bounding the area covered by the light.
void setIlluminationStage (IlluminationStage is)
 Manually set which illumination stage this pass is a member of.
IlluminationStage getIlluminationStage () const
 Get the manually assigned illumination stage, if any.
void * operator new (size_t sz, const char *file, int line, const char *func)
 operator new, with debug line info
void * operator new (size_t sz)
void * operator new (size_t sz, void *ptr)
 placement operator new
void * operator new[] (size_t sz, const char *file, int line, const char *func)
 array operator new, with debug line info
void * operator new[] (size_t sz)
void operator delete (void *ptr)
void operator delete (void *ptr, const char *, int, const char *)
void operator delete[] (void *ptr)
void operator delete[] (void *ptr, const char *, int, const char *)

Static Public Member Functions

static const PassSetgetDirtyHashList (void)
 Static method to retrieve all the Passes which need their hash values recalculated.
static const PassSetgetPassGraveyard (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 HashFuncgetHashFunction (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 Member Functions

void _getBlendFlags (SceneBlendType type, SceneBlendFactor &source, SceneBlendFactor &dest)

Protected Attributes

TechniquemParent
unsigned short mIndex
String mName
uint32 mHash
ColourValue mAmbient
ColourValue mDiffuse
ColourValue mSpecular
ColourValue mEmissive
Real mShininess
TrackVertexColourType mTracking
SceneBlendFactor mSourceBlendFactor
SceneBlendFactor mDestBlendFactor
SceneBlendFactor mSourceBlendFactorAlpha
SceneBlendFactor mDestBlendFactorAlpha
bool mSeparateBlend
bool mDepthCheck
bool mDepthWrite
CompareFunction mDepthFunc
float mDepthBiasConstant
float mDepthBiasSlopeScale
float mDepthBiasPerIteration
bool mColourWrite
CompareFunction mAlphaRejectFunc
unsigned char mAlphaRejectVal
bool mAlphaToCoverageEnabled
bool mTransparentSorting
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 mNormaliseNormals
 Normalisation.
bool mPolygonModeOverrideable
bool mFogOverride
FogMode mFogMode
ColourValue mFogColour
Real mFogStart
Real mFogEnd
Real mFogDensity
TextureUnitStates mTextureUnitStates
GpuProgramUsagemVertexProgramUsage
GpuProgramUsagemShadowCasterVertexProgramUsage
GpuProgramUsagemShadowReceiverVertexProgramUsage
GpuProgramUsagemFragmentProgramUsage
GpuProgramUsagemShadowReceiverFragmentProgramUsage
GpuProgramUsagemGeometryProgramUsage
bool mQueuedForDeletion
size_t mPassIterationCount
Real mPointSize
Real mPointMinSize
Real mPointMaxSize
bool mPointSpritesEnabled
bool mPointAttenuationEnabled
Real mPointAttenuationCoeffs [3]
ContentTypeLookup mShadowContentTypeLookup
bool mContentTypeLookupBuilt
bool mLightScissoring
 Scissoring for the light?
bool mLightClipPlanes
 User clip planes for light?
IlluminationStage mIlluminationStage
 Illumination stage?

Static Protected Attributes

static PassSet msDirtyHashList
 List of Passes whose hashes need recalculating.
static PassSet msPassGraveyard
 The place where passes go to die.
static HashFuncmsHashFunc
 The Pass hash functor.

Classes

struct  HashFunc
 Definition of a functor for calculating the hashcode of a Pass. More...


Detailed Description

Class defining a single pass of a Technique (of a Material), i.e.

a single rendering call.

Remarks:
Rendering can be repeated with many passes for more complex effects. Each pass is either a fixed-function pass (meaning it does not use a vertex or fragment program) or a programmable pass (meaning it does use either a vertex and fragment program, or both).
Programmable passes are complex to define, because they require custom programs and you have to set all constant inputs to the programs (like the position of lights, any base material colours you wish to use etc), but they do give you much total flexibility over the algorithms used to render your pass, and you can create some effects which are impossible with a fixed-function pass. On the other hand, you can define a fixed-function pass in very little time, and you can use a range of fixed-function effects like environment mapping very easily, plus your pass will be more likely to be compatible with older hardware. There are pros and cons to both, just remember that if you use a programmable pass to create some great effects, allow more time for definition and testing.

Definition at line 74 of file OgrePass.h.


Member Typedef Documentation

typedef std::vector<TextureUnitState*> Ogre::Pass::TextureUnitStates [protected]

Storage of texture unit states.

Definition at line 178 of file OgrePass.h.

typedef std::vector<unsigned short> Ogre::Pass::ContentTypeLookup [protected]

Definition at line 206 of file OgrePass.h.

typedef std::set<Pass*> Ogre::Pass::PassSet

Definition at line 220 of file OgrePass.h.

typedef VectorIterator<TextureUnitStates> Ogre::Pass::TextureUnitStateIterator

Definition at line 525 of file OgrePass.h.