#include <OgrePass.h>
Public Types | |
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. | |
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) |
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. | |
size_t | 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 | 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 (ushort bias) |
Sets the depth bias to be used for this material. | |
ushort | getDepthBias (void) const |
Retrieves the depth bias value as set by setDepthValue. | |
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 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. | |
Technique * | getParent (void) |
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 vertex program parameters. | |
const String & | getFragmentProgramName (void) const |
Gets the name of the fragment program used by this pass. | |
GpuProgramParametersSharedPtr | getFragmentProgramParameters (void) const |
Gets the vertex program parameters used by this pass. | |
const GpuProgramPtr & | getFragmentProgram (void) const |
Gets the vertex 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. | |
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 multi pass 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 | |
const PassSet & | getDirtyHashList (void) |
Static method to retrieve all the Passes which need their hash values recalculated. | |
const PassSet & | getPassGraveyard (void) |
Static method to retrieve all the Passes which are pending deletion. | |
void | clearDirtyHashList (void) |
Static method to reset the list of passes which need their hash values recalculated. | |
void | processPendingPassUpdates (void) |
Process all dirty and pending deletion passes. | |
Protected Types | |
typedef std::vector< TextureUnitState * > | TextureUnitStates |
Storage of texture unit states. | |
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 |
ushort | mDepthBias |
bool | mColourWrite |
CompareFunction | mAlphaRejectFunc |
unsigned char | mAlphaRejectVal |
CullingMode | mCullMode |
ManualCullingMode | mManualCullMode |
bool | mLightingEnabled |
Lighting enabled? | |
unsigned short | mMaxSimultaneousLights |
Max simultaneous lights. | |
bool | mIteratePerLight |
Run this pass once per light? | |
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] |
Static Protected Attributes | |
PassSet | msDirtyHashList |
List of Passes whose hashes need recalculating. | |
PassSet | msPassGraveyard |
The place where passes go to die. |
Definition at line 55 of file OgrePass.h.
|
Definition at line 454 of file OgrePass.h. |
|
Definition at line 151 of file OgrePass.h. Referenced by getDirtyHashList(), and getPassGraveyard(). |
|
Definition at line 450 of file OgrePass.h. |
|
Storage of texture unit states.
Definition at line 125 of file OgrePass.h. |
|
Default constructor.
|
|
Copy constructor.
|
|
|
|
Mark the hash as dirty.
|
|
Internal method for loading this pass.
|
|
Internal method to adjust pass index.
|
|
Tells the pass that it needs recompilation.
|
|
Internal method for recalculating the hash.
|
|
Splits this Pass to one which can be handled in the number of texture units specified.
|
|
Internal method for unloading this pass.
|
|
Update any automatic light parameters on this pass.
|
|
Update any automatic parameters (except lights) on this pass.
|
|
Adds the passed in TextureUnitState, to the existing Pass.
|
|
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.
|
|
Static method to reset the list of passes which need their hash values recalculated.
Definition at line 1108 of file OgrePass.h. |
|
Inserts a new TextureUnitState object into the Pass.
|
|
Inserts a new TextureUnitState object into the Pass.
|
|
Gets the alpha reject function. See setAlphaRejectSettings for more information. Definition at line 783 of file OgrePass.h. References Ogre::CompareFunction. |
|
Gets the alpha reject value. See setAlphaRejectSettings for more information. Definition at line 787 of file OgrePass.h. |
|
Gets the ambient colour reflectance of the pass.
|
|
Determines if colour buffer writing is enabled for this pass.
|
|
Returns the culling mode for geometry rendered with this pass. See setCullingMode for more information. |
|
Retrieves the depth bias value as set by setDepthValue.
|
|
Returns whether or not this pass renders with depth-buffer checking on or not.
|
|
Returns the function used to compare depth values when depth checking is on.
|
|
Returns whether or not this pass renders with depth-buffer writing on or not.
|
|
Retrieves the destination blending factor for the material (as set using Materiall::setSceneBlending).
|
|
Gets the diffuse colour reflectance of the pass.
|
|
Static method to retrieve all the Passes which need their hash values recalculated.
Definition at line 1095 of file OgrePass.h. References PassSet. |
|
Returns the fog colour for the scene.
|
|
Returns the fog density for this pass.
|
|
Returns the fog end distance for this pass.
|
|
Returns the fog mode for this pass.
|
|
Returns true if this pass is to override the scene fog settings.
|
|
Returns the fog start distance for this pass.
|
|
Gets the vertex program used by this pass, only available after _load().
|
|
Gets the name of the fragment program used by this pass.
|
|
Gets the vertex program parameters used by this pass.
|
|
Gets the 'hash' of this pass, ie a precomputed number to use for sorting.
Referenced by Ogre::QueuedRenderableCollection::RadixSortFunctorPass::operator()(), Ogre::QueuedRenderableCollection::DepthSortDescendingLess::operator()(), and Ogre::QueuedRenderableCollection::PassGroupLess::operator()(). |
|
Gets the index of this Pass in the parent Technique.
Definition at line 181 of file OgrePass.h. |
|
Does this pass run once for every light in range?
Definition at line 829 of file OgrePass.h. |
|
Returns whether or not dynamic lighting is enabled.
|
|
Retrieves the manual culling mode for this pass.
|
|
Gets the maximum number of lights to be used by this pass.
|
|
get the name of the pass
Definition at line 189 of file OgrePass.h. References Ogre::String. |
|
Returns the number of texture unit settings.
Definition at line 470 of file OgrePass.h. |
|
Gets the single light type this pass runs for if getIteratePerLight and getRunOnlyForOneLightType are both true.
Definition at line 834 of file OgrePass.h. |
|
Gets the parent Technique.
Definition at line 837 of file OgrePass.h. |
|
Static method to retrieve all the Passes which are pending deletion.
Definition at line 1099 of file OgrePass.h. References PassSet. |
|
Gets the multi pass count value.
Definition at line 1137 of file OgrePass.h. |
|
Returns the constant coefficient of point attenuation.
|
|
Returns the linear coefficient of point attenuation.
|
|
Returns the quadratic coefficient of point attenuation.
|
|
Get the maximum point size, when point attenuation is in use.
|
|
Get the minimum point size, when point attenuation is in use.
|
|
Gets the point size of the pass.
|
|
Returns whether point sprites are enabled when rendering a point list.
|
|
Returns the type of light shading to be used.
|
|
Gets the resource group of the ultimate parent Material.
|
|
Does this pass run only for a single light type (if getIteratePerLight is true).
Definition at line 831 of file OgrePass.h. |
|
Gets the self illumination colour of the pass.
|
|
Returns the type of light shading to be used.
|
|
Gets the vertex program used by this pass when rendering shadow casters, only available after _load().
|
|
Gets the name of the vertex program used by this pass when rendering shadow casters.
|
|
Gets the vertex program parameters used by this pass when rendering shadow casters.
|
|
Gets the fragment program used by this pass when rendering shadow receivers, only available after _load().
|
|
Gets the name of the fragment program used by this pass when rendering shadow receivers.
|
|
Gets the fragment program parameters used by this pass when rendering shadow receivers.
|
|
Gets the vertex program used by this pass when rendering shadow receivers, only available after _load().
|
|
Gets the name of the vertex program used by this pass when rendering shadow receivers.
|
|
Gets the vertex program parameters used by this pass when rendering shadow receivers.
|
|
Gets the 'shininess' property of the pass (affects specular highlights).
|
|
Retrieves the source blending factor for the material (as set using Materiall::setSceneBlending).
|
|
Gets the specular colour reflectance of the pass.
|
|
Retrieves the Texture Unit State matching name. Returns 0 if name match is not found. |
|
Retrieves a const pointer to a texture unit state.
|
|
Retrieves the Texture Unit State matching name. Returns 0 if name match is not found. |
|
Retrieves a pointer to a texture unit state so it may be modified.
|
|
Retrieve the index of the Texture Unit State in the pass.
|
|
Get an iterator over the TextureUnitStates contained in this Pass.
|
|
Get an iterator over the TextureUnitStates contained in this Pass.
|
|
Gets which material properties follow the vertex colour.
|
|
Gets the vertex program used by this pass, only available after _load().
|
|
Gets the name of the vertex program used by this pass.
|
|
Gets the vertex program parameters used by this pass.
|
|
Returns true if this pass uses a programmable fragment pipeline.
Definition at line 171 of file OgrePass.h. |
|
Returns true if this pass uses a shadow caster vertex program.
Definition at line 173 of file OgrePass.h. |
|
Returns true if this pass uses a shadow receiver fragment program.
Definition at line 177 of file OgrePass.h. |
|
Returns true if this pass uses a shadow receiver vertex program.
Definition at line 175 of file OgrePass.h. |
|
Returns true if this pass uses a programmable vertex pipeline.
Definition at line 169 of file OgrePass.h. |
|
Returns whether this pass is ambient only.
|
|
|
|
Returns whether points are attenuated with distance.
|
|
Returns true if this pass is programmable ie includes either a vertex or fragment program.
Definition at line 167 of file OgrePass.h. |
|
Returns true if this pass has some element of transparency.
|
|
Operator = overload.
|
|
Process all dirty and pending deletion passes.
|
|
Queue this pass for deletion when appropriate.
|
|
Removes all texture unit settings.
|
|
Removes the indexed texture unit state from this pass.
|
|
Sets the alpha reject function. See setAlphaRejectSettings for more information. |
|
Sets the way the pass will have use alpha to totally reject pixels from the pipeline.
|
|
Gets the alpha reject value. See setAlphaRejectSettings for more information. |
|
Sets the ambient colour reflectance properties of this pass.
|
|
Sets the ambient colour reflectance properties of this pass.
|
|
Sets whether or not colour buffer writing is enabled for this Pass.
|
|
Sets the culling mode for this pass based on the 'vertex winding'.
|
|
Sets the depth bias to be used for this material.
|
|
Sets whether or not this pass renders with depth-buffer checking on or not.
|
|
Sets the function used to compare depth values when depth checking is on.
|
|
Sets whether or not this pass renders with depth-buffer writing on or not.
|
|
Sets the diffuse colour reflectance properties of this pass.
|
|
Sets the diffuse colour reflectance properties of this pass.
|
|
Sets the fogging mode applied to this pass.
|
|
Sets the details of the fragment program to use.
|
|
Sets the vertex program parameters.
|
|
Sets whether or not this pass should iterate per light which can affect the object being rendered.
|
|
Sets whether or not dynamic lighting is enabled.
|
|
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.
|
|
Sets the maximum number of lights to be used by this pass.
|
|
|
|
set the number of iterations that this pass should perform when doing fast multi pass operation.
Definition at line 1133 of file OgrePass.h. |
|
Sets how points are attenuated with distance.
|
|
Set the maximum point size, when point attenuation is in use.
|
|
Set the minimum point size, when point attenuation is in use.
|
|
Sets the point size of this pass.
|
|
Sets whether or not rendering points using OT_POINT_LIST will render point sprites (textured quads) or plain points (dots).
|
|
Sets the type of polygon rendering required.
|
|
Allows very fine control of blending this Pass with the existing contents of the scene.
|
|
Sets the kind of blending this pass has with the existing contents of the scene.
|
|
Sets the amount of self-illumination an object has.
|
|
Sets the amount of self-illumination an object has.
|
|
Sets the type of light shading required.
|
|
Sets the details of the vertex program to use when rendering as a shadow caster.
|
|
Sets the vertex program parameters for rendering as a shadow caster.
|
|
This method allows you to specify a fragment program for use when rendering a texture shadow receiver.
|
|
Sets the fragment program parameters for rendering as a shadow receiver.
|
|
Sets the details of the vertex program to use when rendering as a shadow receiver.
|
|
Sets the vertex program parameters for rendering as a shadow receiver.
|
|
Sets the shininess of the pass, affecting the size of specular highlights.
|
|
Sets the specular colour reflectance properties of this pass.
|
|
Sets the specular colour reflectance properties of this pass.
|
|
Sets the anisotropy level to be used for all textures.
|
|
Set texture filtering for every texture unit.
|
|
Sets which material properties follow the vertex colour.
|
|
Sets the details of the vertex program to use.
|
|
Sets the vertex program parameters.
|
|
Definition at line 89 of file OgrePass.h. |
|
Definition at line 90 of file OgrePass.h. |
|
Definition at line 64 of file OgrePass.h. |
|
Definition at line 86 of file OgrePass.h. |
|
Definition at line 95 of file OgrePass.h. |
|
Definition at line 83 of file OgrePass.h. |
|
Definition at line 80 of file OgrePass.h. |
|
Definition at line 82 of file OgrePass.h. |
|
Definition at line 81 of file OgrePass.h. |
|
Definition at line 75 of file OgrePass.h. |
|
Definition at line 65 of file OgrePass.h. |
|
Definition at line 67 of file OgrePass.h. |
|
Definition at line 118 of file OgrePass.h. |
|
Definition at line 121 of file OgrePass.h. |
|
Definition at line 120 of file OgrePass.h. |
|
Definition at line 117 of file OgrePass.h. |
|
Definition at line 116 of file OgrePass.h. |
|
Definition at line 119 of file OgrePass.h. |
|
Definition at line 135 of file OgrePass.h. |
|
Definition at line 61 of file OgrePass.h. |
|
Definition at line 59 of file OgrePass.h. |
|
Run this pass once per light?
Definition at line 104 of file OgrePass.h. |
|
Lighting enabled?
Definition at line 100 of file OgrePass.h. |
|
Definition at line 96 of file OgrePass.h. |
|
Max simultaneous lights.
Definition at line 102 of file OgrePass.h. |
|
Definition at line 60 of file OgrePass.h. |
|
Definition at line 107 of file OgrePass.h. |
|
Definition at line 58 of file OgrePass.h. |
|
Definition at line 141 of file OgrePass.h. |
|
Definition at line 149 of file OgrePass.h. |
|
Definition at line 147 of file OgrePass.h. |
|
Definition at line 145 of file OgrePass.h. |
|
Definition at line 144 of file OgrePass.h. |
|
Definition at line 143 of file OgrePass.h. |
|
Definition at line 146 of file OgrePass.h. |
|
Polygon mode.
Definition at line 112 of file OgrePass.h. |
|
Definition at line 139 of file OgrePass.h. |
|
Definition at line 106 of file OgrePass.h. |
|
List of Passes whose hashes need recalculating.
Definition at line 154 of file OgrePass.h. |
|
Shading options.
Definition at line 110 of file OgrePass.h. |
|
Definition at line 131 of file OgrePass.h. |
|
Definition at line 137 of file OgrePass.h. |
|
Definition at line 133 of file OgrePass.h. |
|
Definition at line 68 of file OgrePass.h. |
|
Definition at line 74 of file OgrePass.h. |
|
The place where passes go to die.
Definition at line 156 of file OgrePass.h. |
|
Definition at line 66 of file OgrePass.h. |
|
Definition at line 126 of file OgrePass.h. |
|
Definition at line 69 of file OgrePass.h. |
|
Definition at line 129 of file OgrePass.h. |
Copyright © 2000-2005 by The OGRE Team
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Sun Mar 12 14:41:29 2006