#include <OGREInterfaces.h>
Inherits DigitalSpaces::DIObjectBase.
Public Member Functions | |
| bool | IsProgrammable (void) |
| Returns true if this pass is programmable ie includes either a vertex or fragment program. | |
| bool | HasVertexProgram (void) |
| Returns true if this pass uses a programmable vertex pipeline. | |
| bool | HasFragmentProgram (void) |
| Returns true if this pass uses a programmable fragment pipeline. | |
| unsigned short | GetIndex (void) |
| Gets the index of this Pass in the parent Technique. | |
| void | SetAmbient (float red, float green, float blue) |
| Sets the ambient colour reflectance properties of this pass. | |
| void | SetAmbient (in_Vector3f *ambient) |
| Sets the ambient colour reflectance properties of this pass. | |
| void | SetDiffuse (float red, float green, float blue, float alpha) |
| Sets the diffuse colour reflectance properties of this pass. | |
| void | SetDiffuse (in_Vector4f *diffuse) |
| Sets the diffuse colour reflectance properties of this pass. | |
| void | SetSpecular (float red, float green, float blue, float alpha) |
| Sets the specular colour reflectance properties of this pass. | |
| void | SetSpecular (in_Vector4f *specular) |
| Sets the specular colour reflectance properties of this pass. | |
| void | SetShininess (float val) |
| Sets the shininess of the pass, affecting the size of specular highlights. | |
| void | SetSelfIllumination (float red, float green, float blue) |
| Sets the amount of self-illumination an object has. | |
| void | SetSelfIllumination (in_Vector3f *selfIllum) |
| Sets the amount of self-illumination an object has. | |
| void | GetAmbient (out_Vector3f *colour) |
| Sets which material properties follow the vertex colour. | |
| void | GetDiffuse (out_Vector4f *colour) |
| Gets the diffuse colour reflectance of the pass. | |
| void | GetSpecular (out_Vector4f *colour) |
| Gets the specular colour reflectance of the pass. | |
| void | GetSelfIllumination (out_Vector3f *colour) |
| Gets the self illumination colour of the pass. | |
| float | GetShininess (void) |
| Gets the 'shininess' property of the pass (affects specular highlights). | |
| DIOGRETextureUnitState * | CreateTextureUnitState (void) |
| Gets which material properties follow the vertex colour. | |
| DIOGRETextureUnitState * | CreateTextureUnitState (const char *textureName) |
| Inserts a new TextureUnitState object into the Pass. | |
| DIOGRETextureUnitState * | CreateTextureUnitState (const char *textureName, unsigned short texCoordSet) |
| void | AddTextureUnitState (DIOGRETextureUnitState *state) |
| Adds the passed in TextureUnitState, to the existing Pass. | |
| DIOGRETextureUnitState * | GetTextureUnitState (unsigned short index) |
| Retrieves a pointer to a texture unit state so it may be modified. | |
| void | RemoveTextureUnitState (unsigned short index) |
| Get an iterator over the TextureUnitStates contained in this Pass. | |
| void | RemoveAllTextureUnitStates (void) |
| Removes all texture unit settings. | |
| unsigned long | GetNumTextureUnitStates (void) |
| Returns the number of texture unit settings. | |
| void | SetSceneBlending (OGRESceneBlendType sbt) |
| Sets the kind of blending this pass has with the existing contents of the scene. | |
| void | SetSceneBlending (OGRESceneBlendFactor sourceFactor, OGRESceneBlendFactor destFactor) |
| Allows very fine control of blending this Pass with the existing contents of the scene. | |
| OGRESceneBlendFactor | GetSourceBlendFactor () |
| Retrieves the source blending factor for the material (as set using Materiall::setSceneBlending). | |
| OGRESceneBlendFactor | GetDestBlendFactor () |
| Retrieves the destination blending factor for the material (as set using Materiall::setSceneBlending). | |
| bool | IsTransparent (void) |
| 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) |
| 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) |
| Returns whether or not this pass renders with depth-buffer writing on or not. | |
| void | SetDepthFunction (OGRECompareFunction func) |
| Sets the function used to compare depth values when depth checking is on. | |
| OGRECompareFunction | GetDepthFunction (void) |
| 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) |
| Determines if colour buffer writing is enabled for this pass. | |
| void | SetCullingMode (OGRECullingMode mode) |
| Sets the culling mode for this pass based on the 'vertex winding'. | |
| OGRECullingMode | GetCullingMode (void) |
| Returns the culling mode for geometry rendered with this pass. | |
| void | SetManualCullingMode (OGREManualCullingMode mode) |
| Sets the manual culling mode, performed by CPU rather than hardware. | |
| OGREManualCullingMode | GetManualCullingMode (void) |
| Retrieves the manual culling mode for this pass. | |
| void | SetLightingEnabled (bool enabled) |
| Sets whether or not dynamic lighting is enabled. | |
| bool | GetLightingEnabled (void) |
| 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) |
| Gets the maximum number of lights to be used by this pass. | |
| void | SetShadingMode (OGREShadeOptions mode) |
| Sets the type of light shading required. | |
| OGREShadeOptions | GetShadingMode (void) |
| Returns the type of light shading to be used. | |
| void | SetFog (bool overrideScene) |
| Sets the fogging mode applied to this pass. | |
| void | SetFog (bool overrideScene, OGREFogMode mode, in_Vector3f *colour, float expDensity, float linearStart, float linearEnd) |
| bool | GetFogOverride (void) |
| Returns true if this pass is to override the scene fog settings. | |
| OGREFogMode | GetFogMode (void) |
| Returns the fog mode for this pass. | |
| void | GetFogColour (out_Vector3f *colour) |
| Returns the fog colour for the scene. | |
| float | GetFogStart (void) |
| Returns the fog start distance for this pass. | |
| float | GetFogEnd (void) |
| Returns the fog end distance for this pass. | |
| float | GetFogDensity (void) |
| Returns the fog density for this pass. | |
| void | SetDepthBias (float constantBias, float slopeScaleBias) |
| Sets the depth bias to be used for this material. | |
| float | GetDepthBiasConstant (void) |
| Retrieves the depth bias value as set by setDepthValue. | |
| float | GetDepthBiasSlopeScale (void) |
| void | SetAlphaRejectSettings (OGRECompareFunction func, unsigned char value) |
| Sets the way the pass will have use alpha to totally reject pixels from the pipeline. | |
| void | SetAlphaRejectFunction (OGRECompareFunction func) |
| Sets the alpha reject function. | |
| void | SetAlphaRejectValue (unsigned char val) |
| Gets the alpha reject value. | |
| OGRECompareFunction | GetAlphaRejectFunction (void) |
| Gets the alpha reject function. | |
| unsigned char | GetAlphaRejectValue (void) |
| Gets the alpha reject value. | |
| void | SetIteratePerLight (bool enabled) |
| Sets whether or not this pass should be run once per light which can affect the object being rendered. | |
| void | SetIteratePerLight (bool enabled, bool onlyForOneLightType, OGRELightTypes lightType) |
| bool | GetIteratePerLight (void) |
| Does this pass run once for every light in range? | |
| bool | GetRunOnlyForOneLightType (void) |
| Does this pass run only for a single light type (if getRunOncePerLight is true). | |
| OGRELightTypes | GetOnlyLightType () |
| Gets the single light type this pass runs for if getRunOncePerLight and getRunOnlyForOneLightType are both true. | |
| DIOGRETechnique * | GetParent (void) |
| Gets the parent Technique. | |
| const char * | GetResourceGroup (void) |
| Gets the resource group of the ultimate parent Material. | |
| void | SetVertexProgram (const char *name) |
| Sets the details of the vertex program to use. | |
| void | SetVertexProgram (const char *name, bool resetParams) |
| const char * | GetVertexProgramName (void) |
| Sets the vertex program parameters. | |
| const DIOGREGpuProgram * | GetVertexProgram (void) |
| Gets the vertex program parameters used by this pass. | |
| void | SetShadowCasterVertexProgram (const char *name) |
| Sets the details of the vertex program to use when rendering as a shadow caster. | |
| const char * | GetShadowCasterVertexProgramName (void) |
| Sets the vertex program parameters for rendering as a shadow caster. | |
| const DIOGREGpuProgram * | GetShadowCasterVertexProgram (void) |
| Gets the vertex program parameters used by this pass when rendering shadow casters. | |
| void | SetShadowReceiverVertexProgram (const char *name) |
| Sets the details of the vertex program to use when rendering as a shadow receiver. | |
| const char * | GetShadowReceiverVertexProgramName (void) |
| Sets the vertex program parameters for rendering as a shadow receiver. | |
| const DIOGREGpuProgram * | GetShadowReceiverVertexProgram (void) |
| Gets the vertex program parameters used by this pass when rendering shadow receivers. | |
| void | SetFragmentProgram (const char *name) |
| Sets the details of the fragment program to use. | |
| void | SetFragmentProgram (const char *name, bool resetParams) |
| const char * | GetFragmentProgramName (void) |
| Sets the vertex program parameters. | |
| const DIOGREGpuProgram * | GetFragmentProgram (void) |
| Gets the vertex program parameters used by this pass. | |
| bool | IsLoaded (void) |
| Is this loaded? | |
| unsigned long | GetHash (void) |
| Gets the 'hash' of this pass, ie a precomputed number to use for sorting. | |
| void | SetTextureFiltering (OGRETextureFilterOptions 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) |
| Returns whether this pass is ambient only. | |
| bool DigitalSpaces::DIOGREPass::IsProgrammable | ( | void | ) |
Returns true if this pass is programmable ie includes either a vertex or fragment program.
| bool DigitalSpaces::DIOGREPass::HasVertexProgram | ( | void | ) |
Returns true if this pass uses a programmable vertex pipeline.
| bool DigitalSpaces::DIOGREPass::HasFragmentProgram | ( | void | ) |
Returns true if this pass uses a programmable fragment pipeline.
| unsigned short DigitalSpaces::DIOGREPass::GetIndex | ( | void | ) |
Gets the index of this Pass in the parent Technique.
| void DigitalSpaces::DIOGREPass::SetAmbient | ( | float | red, | |
| float | green, | |||
| float | blue | |||
| ) |
Sets the ambient colour reflectance properties of this pass.
| void DigitalSpaces::DIOGREPass::SetAmbient | ( | in_Vector3f * | ambient | ) |
Sets the ambient colour reflectance properties of this pass.
| void DigitalSpaces::DIOGREPass::SetDiffuse | ( | float | red, | |
| float | green, | |||
| float | blue, | |||
| float | alpha | |||
| ) |
Sets the diffuse colour reflectance properties of this pass.
| void DigitalSpaces::DIOGREPass::SetDiffuse | ( | in_Vector4f * | diffuse | ) |
Sets the diffuse colour reflectance properties of this pass.
| void DigitalSpaces::DIOGREPass::SetSpecular | ( | float | red, | |
| float | green, | |||
| float | blue, | |||
| float | alpha | |||
| ) |
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 DigitalSpaces::DIOGREPass::SetSpecular | ( | in_Vector4f * | 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 DigitalSpaces::DIOGREPass::SetShininess | ( | float | val | ) |
Sets the shininess of the pass, affecting the size of specular highlights.
| void DigitalSpaces::DIOGREPass::SetSelfIllumination | ( | float | red, | |
| float | green, | |||
| float | blue | |||
| ) |
Sets the amount of self-illumination an object has.
| void DigitalSpaces::DIOGREPass::SetSelfIllumination | ( | in_Vector3f * | selfIllum | ) |
Sets the amount of self-illumination an object has.
| void DigitalSpaces::DIOGREPass::GetAmbient | ( | out_Vector3f * | colour | ) |
Sets which material properties follow the vertex colour.
Gets the ambient colour reflectance of the pass.
| void DigitalSpaces::DIOGREPass::GetDiffuse | ( | out_Vector4f * | colour | ) |
Gets the diffuse colour reflectance of the pass.
| void DigitalSpaces::DIOGREPass::GetSpecular | ( | out_Vector4f * | colour | ) |
Gets the specular colour reflectance of the pass.
| void DigitalSpaces::DIOGREPass::GetSelfIllumination | ( | out_Vector3f * | colour | ) |
Gets the self illumination colour of the pass.
| float DigitalSpaces::DIOGREPass::GetShininess | ( | void | ) |
Gets the 'shininess' property of the pass (affects specular highlights).
| DIOGRETextureUnitState* DigitalSpaces::DIOGREPass::CreateTextureUnitState | ( | void | ) |
Gets which material properties follow the vertex colour.
Inserts a new TextureUnitState object into the Pass.
| DIOGRETextureUnitState* DigitalSpaces::DIOGREPass::CreateTextureUnitState | ( | const char * | textureName | ) |
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. |
| DIOGRETextureUnitState* DigitalSpaces::DIOGREPass::CreateTextureUnitState | ( | const char * | textureName, | |
| unsigned short | texCoordSet | |||
| ) |
| void DigitalSpaces::DIOGREPass::AddTextureUnitState | ( | DIOGRETextureUnitState * | state | ) |
Adds the passed in TextureUnitState, to the existing Pass.
| DIOGRETextureUnitState* DigitalSpaces::DIOGREPass::GetTextureUnitState | ( | unsigned short | index | ) |
Retrieves a pointer to a texture unit state so it may be modified.
| void DigitalSpaces::DIOGREPass::RemoveTextureUnitState | ( | unsigned short | index | ) |
Get an iterator over the TextureUnitStates contained in this Pass.
Removes the indexed texture unit state from this pass.
| void DigitalSpaces::DIOGREPass::RemoveAllTextureUnitStates | ( | void | ) |
Removes all texture unit settings.
| unsigned long DigitalSpaces::DIOGREPass::GetNumTextureUnitStates | ( | void | ) |
Returns the number of texture unit settings.
| void DigitalSpaces::DIOGREPass::SetSceneBlending | ( | OGRESceneBlendType | sbt | ) |
Sets the kind of blending this pass has with the existing contents of the scene.
| sbt | One of the predefined OGRESceneBlendType blending types |
| void DigitalSpaces::DIOGREPass::SetSceneBlending | ( | OGRESceneBlendFactor | sourceFactor, | |
| OGRESceneBlendFactor | 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. |
| OGRESceneBlendFactor DigitalSpaces::DIOGREPass::GetSourceBlendFactor | ( | ) |
Retrieves the source blending factor for the material (as set using Materiall::setSceneBlending).
| OGRESceneBlendFactor DigitalSpaces::DIOGREPass::GetDestBlendFactor | ( | ) |
Retrieves the destination blending factor for the material (as set using Materiall::setSceneBlending).
| bool DigitalSpaces::DIOGREPass::IsTransparent | ( | void | ) |
Returns true if this pass has some element of transparency.
| void DigitalSpaces::DIOGREPass::SetDepthCheckEnabled | ( | bool | enabled | ) |
Sets whether or not this pass renders with depth-buffer checking on or not.
| bool DigitalSpaces::DIOGREPass::GetDepthCheckEnabled | ( | void | ) |
Returns whether or not this pass renders with depth-buffer checking on or not.
| void DigitalSpaces::DIOGREPass::SetDepthWriteEnabled | ( | bool | enabled | ) |
Sets whether or not this pass renders with depth-buffer writing on or not.
| bool DigitalSpaces::DIOGREPass::GetDepthWriteEnabled | ( | void | ) |
Returns whether or not this pass renders with depth-buffer writing on or not.
| void DigitalSpaces::DIOGREPass::SetDepthFunction | ( | OGRECompareFunction | func | ) |
Sets the function used to compare depth values when depth checking is on.
| OGRECompareFunction DigitalSpaces::DIOGREPass::GetDepthFunction | ( | void | ) |
Returns the function used to compare depth values when depth checking is on.
| void DigitalSpaces::DIOGREPass::SetColourWriteEnabled | ( | bool | enabled | ) |
Sets whether or not colour buffer writing is enabled for this Pass.
| bool DigitalSpaces::DIOGREPass::GetColourWriteEnabled | ( | void | ) |
Determines if colour buffer writing is enabled for this pass.
| void DigitalSpaces::DIOGREPass::SetCullingMode | ( | OGRECullingMode | mode | ) |
Sets the culling mode for this pass based on the 'vertex winding'.
| OGRECullingMode DigitalSpaces::DIOGREPass::GetCullingMode | ( | void | ) |
Returns the culling mode for geometry rendered with this pass.
See setCullingMode for more information.
| void DigitalSpaces::DIOGREPass::SetManualCullingMode | ( | OGREManualCullingMode | mode | ) |
Sets the manual culling mode, performed by CPU rather than hardware.
| mode | The mode to use - see enum OGREManualCullingMode for details |
| OGREManualCullingMode DigitalSpaces::DIOGREPass::GetManualCullingMode | ( | void | ) |
Retrieves the manual culling mode for this pass.
| void DigitalSpaces::DIOGREPass::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 DigitalSpaces::DIOGREPass::GetLightingEnabled | ( | void | ) |
Returns whether or not dynamic lighting is enabled.
| void DigitalSpaces::DIOGREPass::SetMaxSimultaneousLights | ( | unsigned short | maxLights | ) |
Sets the maximum number of lights to be used by this pass.
| unsigned short DigitalSpaces::DIOGREPass::GetMaxSimultaneousLights | ( | void | ) |
Gets the maximum number of lights to be used by this pass.
| void DigitalSpaces::DIOGREPass::SetShadingMode | ( | OGREShadeOptions | mode | ) |
Sets the type of light shading required.
| OGREShadeOptions DigitalSpaces::DIOGREPass::GetShadingMode | ( | void | ) |
Returns the type of light shading to be used.
| void DigitalSpaces::DIOGREPass::SetFog | ( | bool | overrideScene | ) |
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 OGREFogMode. | |
| 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. |
| void DigitalSpaces::DIOGREPass::SetFog | ( | bool | overrideScene, | |
| OGREFogMode | mode, | |||
| in_Vector3f * | colour, | |||
| float | expDensity, | |||
| float | linearStart, | |||
| float | linearEnd | |||
| ) |
| bool DigitalSpaces::DIOGREPass::GetFogOverride | ( | void | ) |
Returns true if this pass is to override the scene fog settings.
| OGREFogMode DigitalSpaces::DIOGREPass::GetFogMode | ( | void | ) |
Returns the fog mode for this pass.
| void DigitalSpaces::DIOGREPass::GetFogColour | ( | out_Vector3f * | colour | ) |
Returns the fog colour for the scene.
| float DigitalSpaces::DIOGREPass::GetFogStart | ( | void | ) |
Returns the fog start distance for this pass.
| float DigitalSpaces::DIOGREPass::GetFogEnd | ( | void | ) |
Returns the fog end distance for this pass.
| float DigitalSpaces::DIOGREPass::GetFogDensity | ( | void | ) |
Returns the fog density for this pass.
| void DigitalSpaces::DIOGREPass::SetDepthBias | ( | float | constantBias, | |
| float | slopeScaleBias | |||
| ) |
Sets the depth bias to be used for this material.
| bias | The bias value, should be between 0 and 16. |
| float DigitalSpaces::DIOGREPass::GetDepthBiasConstant | ( | void | ) |
Retrieves the depth bias value as set by setDepthValue.
| float DigitalSpaces::DIOGREPass::GetDepthBiasSlopeScale | ( | void | ) |
| void DigitalSpaces::DIOGREPass::SetAlphaRejectSettings | ( | OGRECompareFunction | 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 DigitalSpaces::DIOGREPass::SetAlphaRejectFunction | ( | OGRECompareFunction | func | ) |
Sets the alpha reject function.
See setAlphaRejectSettings for more information.
| void DigitalSpaces::DIOGREPass::SetAlphaRejectValue | ( | unsigned char | val | ) |
Gets the alpha reject value.
See setAlphaRejectSettings for more information.
| OGRECompareFunction DigitalSpaces::DIOGREPass::GetAlphaRejectFunction | ( | void | ) |
Gets the alpha reject function.
See setAlphaRejectSettings for more information.
| unsigned char DigitalSpaces::DIOGREPass::GetAlphaRejectValue | ( | void | ) |
Gets the alpha reject value.
See setAlphaRejectSettings for more information.
| void DigitalSpaces::DIOGREPass::SetIteratePerLight | ( | bool | enabled | ) |
Sets whether or not this pass should be run once per light 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 |
| void DigitalSpaces::DIOGREPass::SetIteratePerLight | ( | bool | enabled, | |
| bool | onlyForOneLightType, | |||
| OGRELightTypes | lightType | |||
| ) |
| bool DigitalSpaces::DIOGREPass::GetIteratePerLight | ( | void | ) |
Does this pass run once for every light in range?
| bool DigitalSpaces::DIOGREPass::GetRunOnlyForOneLightType | ( | void | ) |
Does this pass run only for a single light type (if getRunOncePerLight is true).
| OGRELightTypes DigitalSpaces::DIOGREPass::GetOnlyLightType | ( | ) |
Gets the single light type this pass runs for if getRunOncePerLight and getRunOnlyForOneLightType are both true.
| DIOGRETechnique* DigitalSpaces::DIOGREPass::GetParent | ( | void | ) |
Gets the parent Technique.
| const char* DigitalSpaces::DIOGREPass::GetResourceGroup | ( | void | ) |
Gets the resource group of the ultimate parent Material.
| void DigitalSpaces::DIOGREPass::SetVertexProgram | ( | const char * | name | ) |
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 DigitalSpaces::DIOGREPass::SetVertexProgram | ( | const char * | name, | |
| bool | resetParams | |||
| ) |
| const char* DigitalSpaces::DIOGREPass::GetVertexProgramName | ( | void | ) |
Sets the vertex program parameters.
| const DIOGREGpuProgram* DigitalSpaces::DIOGREPass::GetVertexProgram | ( | void | ) |
Gets the vertex program parameters used by this pass.
Gets the vertex program used by this pass, only available after _load().
| void DigitalSpaces::DIOGREPass::SetShadowCasterVertexProgram | ( | const char * | name | ) |
Sets the details of the vertex program to use when rendering as a shadow caster.
This is only applicable to programmable passes.
| const char* DigitalSpaces::DIOGREPass::GetShadowCasterVertexProgramName | ( | void | ) |
Sets the vertex program parameters for rendering as a shadow caster.
| const DIOGREGpuProgram* DigitalSpaces::DIOGREPass::GetShadowCasterVertexProgram | ( | void | ) |
Gets the vertex program parameters used by this pass when rendering shadow casters.
Gets the vertex program used by this pass when rendering shadow casters, only available after _load().
| void DigitalSpaces::DIOGREPass::SetShadowReceiverVertexProgram | ( | const char * | name | ) |
Sets the details of the vertex program to use when rendering as a shadow receiver.
| const char* DigitalSpaces::DIOGREPass::GetShadowReceiverVertexProgramName | ( | void | ) |
Sets the vertex program parameters for rendering as a shadow receiver.
| const DIOGREGpuProgram* DigitalSpaces::DIOGREPass::GetShadowReceiverVertexProgram | ( | void | ) |
Gets the vertex 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().
| void DigitalSpaces::DIOGREPass::SetFragmentProgram | ( | const char * | name | ) |
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 DigitalSpaces::DIOGREPass::SetFragmentProgram | ( | const char * | name, | |
| bool | resetParams | |||
| ) |
| const char* DigitalSpaces::DIOGREPass::GetFragmentProgramName | ( | void | ) |
Sets the vertex program parameters.
| const DIOGREGpuProgram* DigitalSpaces::DIOGREPass::GetFragmentProgram | ( | void | ) |
Gets the vertex program parameters used by this pass.
Gets the vertex program used by this pass, only available after _load().
| bool DigitalSpaces::DIOGREPass::IsLoaded | ( | void | ) |
Is this loaded?
| unsigned long DigitalSpaces::DIOGREPass::GetHash | ( | void | ) |
Gets the 'hash' of this pass, ie a precomputed number to use for sorting.
| void DigitalSpaces::DIOGREPass::SetTextureFiltering | ( | OGRETextureFilterOptions | filterType | ) |
Set texture filtering for every texture unit.
| void DigitalSpaces::DIOGREPass::SetTextureAnisotropy | ( | unsigned int | maxAniso | ) |
Sets the anisotropy level to be used for all textures.
| void DigitalSpaces::DIOGREPass::QueueForDeletion | ( | void | ) |
Queue this pass for deletion when appropriate.
| bool DigitalSpaces::DIOGREPass::IsAmbientOnly | ( | void | ) |
Returns whether this pass is ambient only.
1.5.6