#include <OGREInterfaces.h>
Inherits DigitalSpaces::DIObjectBase.
Public Member Functions | |
| bool | IsSupported (void) |
| Indicates if this technique is supported by the current graphics card. | |
| DIOGREPass * | CreatePass (void) |
| Creates a new Pass for this Technique. | |
| DIOGREPass * | GetPass (unsigned short index) |
| Retrieves the Pass with the given index. | |
| unsigned short | GetNumPasses (void) |
| Retrieves the number of passes. | |
| void | RemovePass (unsigned short index) |
| Removes the Pass with the given index. | |
| void | RemoveAllPasses (void) |
| Removes all Passes from this Technique. | |
| DIOGREMaterial * | GetParent (void) |
| Gets an iterator over the passes in this Technique. | |
| const char * | GetResourceGroup (void) |
| Gets the resource group of the ultimate parent Material. | |
| bool | IsTransparent (void) |
| Returns true if this Technique involves transparency. | |
| void | SetAmbient (float red, float green, float blue) |
| Sets the ambient colour reflectance properties for every Pass in every Technique. | |
| void | SetAmbient (in_Vector3f *ambient) |
| Sets the ambient colour reflectance properties for every Pass in every Technique. | |
| void | SetDiffuse (float red, float green, float blue, float alpha) |
| Sets the diffuse colour reflectance properties of every Pass in every Technique. | |
| void | SetDiffuse (in_Vector4f *diffuse) |
| Sets the diffuse colour reflectance properties of every Pass in every Technique. | |
| void | SetSpecular (float red, float green, float blue, float alpha) |
| Sets the specular colour reflectance properties of every Pass in every Technique. | |
| void | SetSpecular (in_Vector4f *specular) |
| Sets the specular colour reflectance properties of every Pass in every Technique. | |
| void | SetShininess (float val) |
| Sets the shininess properties of every Pass in every Technique. | |
| void | SetSelfIllumination (float red, float green, float blue) |
| Sets the amount of self-illumination of every Pass in every Technique. | |
| void | SetSelfIllumination (in_Vector3f *selfIllum) |
| Sets the amount of self-illumination of every Pass in every Technique. | |
| void | SetDepthCheckEnabled (bool enabled) |
| Sets whether or not each Pass renders with depth-buffer checking on or not. | |
| void | SetDepthWriteEnabled (bool enabled) |
| Sets whether or not each 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. | |
| void | SetColourWriteEnabled (bool enabled) |
| Sets whether or not colour buffer writing is enabled for each Pass. | |
| void | SetCullingMode (OGRECullingMode mode) |
| Sets the culling mode for each pass based on the 'vertex winding'. | |
| void | SetManualCullingMode (OGREManualCullingMode mode) |
| Sets the manual culling mode, performed by CPU rather than hardware. | |
| void | SetLightingEnabled (bool enabled) |
| Sets whether or not dynamic lighting is enabled for every Pass. | |
| void | SetShadingMode (OGREShadeOptions mode) |
| Sets the type of light shading required. | |
| void | SetFog (bool overrideScene) |
| Sets the fogging mode applied to each pass. | |
| void | SetFog (bool overrideScene, OGREFogMode mode, in_Vector3f *colour, float expDensity, float linearStart, float linearEnd) |
| void | SetDepthBias (float constantBias, float slopeScaleBias) |
| Sets the depth bias to be used for each Pass. | |
| void | SetTextureFiltering (OGRETextureFilterOptions filterType) |
| Set texture filtering for every texture unit in every Pass. | |
| void | SetTextureAnisotropy (unsigned int maxAniso) |
| Sets the anisotropy level to be used for all textures. | |
| void | SetSceneBlending (OGRESceneBlendType sbt) |
| Sets the kind of blending every pass has with the existing contents of the scene. | |
| void | SetSceneBlending (OGRESceneBlendFactor sourceFactor, OGRESceneBlendFactor destFactor) |
| Allows very fine control of blending every Pass with the existing contents of the scene. | |
| void | SetLodIndex (unsigned short index) |
| Assigns a level-of-detail (LOD) index to this Technique. | |
| unsigned short | GetLodIndex (void) |
| Gets the level-of-detail index assigned to this Technique. | |
| bool | IsDepthWriteEnabled (void) |
| Is depth writing going to occur on this technique? | |
| bool | IsDepthCheckEnabled (void) |
| Is depth checking going to occur on this technique? | |
| bool DigitalSpaces::DIOGRETechnique::IsSupported | ( | void | ) |
Indicates if this technique is supported by the current graphics card.
| DIOGREPass* DigitalSpaces::DIOGRETechnique::CreatePass | ( | void | ) |
Creates a new Pass for this Technique.
| DIOGREPass* DigitalSpaces::DIOGRETechnique::GetPass | ( | unsigned short | index | ) |
Retrieves the Pass with the given index.
| unsigned short DigitalSpaces::DIOGRETechnique::GetNumPasses | ( | void | ) |
Retrieves the number of passes.
| void DigitalSpaces::DIOGRETechnique::RemovePass | ( | unsigned short | index | ) |
Removes the Pass with the given index.
| void DigitalSpaces::DIOGRETechnique::RemoveAllPasses | ( | void | ) |
Removes all Passes from this Technique.
| DIOGREMaterial* DigitalSpaces::DIOGRETechnique::GetParent | ( | void | ) |
Gets an iterator over the passes in this Technique.
Gets an iterator over the illumination-stage categorised passes. Gets the parent Material
| const char* DigitalSpaces::DIOGRETechnique::GetResourceGroup | ( | void | ) |
Gets the resource group of the ultimate parent Material.
| bool DigitalSpaces::DIOGRETechnique::IsTransparent | ( | void | ) |
Returns true if this Technique involves transparency.
| void DigitalSpaces::DIOGRETechnique::SetAmbient | ( | float | red, | |
| float | green, | |||
| float | blue | |||
| ) |
Sets the ambient colour reflectance properties for every Pass in every Technique.
| void DigitalSpaces::DIOGRETechnique::SetAmbient | ( | in_Vector3f * | ambient | ) |
Sets the ambient colour reflectance properties for every Pass in every Technique.
| void DigitalSpaces::DIOGRETechnique::SetDiffuse | ( | float | red, | |
| float | green, | |||
| float | blue, | |||
| float | alpha | |||
| ) |
Sets the diffuse colour reflectance properties of every Pass in every Technique.
| void DigitalSpaces::DIOGRETechnique::SetDiffuse | ( | in_Vector4f * | diffuse | ) |
Sets the diffuse colour reflectance properties of every Pass in every Technique.
| void DigitalSpaces::DIOGRETechnique::SetSpecular | ( | float | red, | |
| float | green, | |||
| float | blue, | |||
| float | alpha | |||
| ) |
Sets the specular colour reflectance properties of every Pass in every Technique.
| void DigitalSpaces::DIOGRETechnique::SetSpecular | ( | in_Vector4f * | specular | ) |
Sets the specular colour reflectance properties of every Pass in every Technique.
| void DigitalSpaces::DIOGRETechnique::SetShininess | ( | float | val | ) |
Sets the shininess properties of every Pass in every Technique.
| void DigitalSpaces::DIOGRETechnique::SetSelfIllumination | ( | float | red, | |
| float | green, | |||
| float | blue | |||
| ) |
Sets the amount of self-illumination of every Pass in every Technique.
| void DigitalSpaces::DIOGRETechnique::SetSelfIllumination | ( | in_Vector3f * | selfIllum | ) |
Sets the amount of self-illumination of every Pass in every Technique.
| void DigitalSpaces::DIOGRETechnique::SetDepthCheckEnabled | ( | bool | enabled | ) |
Sets whether or not each Pass renders with depth-buffer checking on or not.
| void DigitalSpaces::DIOGRETechnique::SetDepthWriteEnabled | ( | bool | enabled | ) |
Sets whether or not each Pass renders with depth-buffer writing on or not.
| void DigitalSpaces::DIOGRETechnique::SetDepthFunction | ( | OGRECompareFunction | func | ) |
Sets the function used to compare depth values when depth checking is on.
| void DigitalSpaces::DIOGRETechnique::SetColourWriteEnabled | ( | bool | enabled | ) |
Sets whether or not colour buffer writing is enabled for each Pass.
| void DigitalSpaces::DIOGRETechnique::SetCullingMode | ( | OGRECullingMode | mode | ) |
Sets the culling mode for each pass based on the 'vertex winding'.
| void DigitalSpaces::DIOGRETechnique::SetManualCullingMode | ( | OGREManualCullingMode | mode | ) |
Sets the manual culling mode, performed by CPU rather than hardware.
| void DigitalSpaces::DIOGRETechnique::SetLightingEnabled | ( | bool | enabled | ) |
Sets whether or not dynamic lighting is enabled for every Pass.
| void DigitalSpaces::DIOGRETechnique::SetShadingMode | ( | OGREShadeOptions | mode | ) |
Sets the type of light shading required.
| void DigitalSpaces::DIOGRETechnique::SetFog | ( | bool | overrideScene | ) |
Sets the fogging mode applied to each pass.
| void DigitalSpaces::DIOGRETechnique::SetFog | ( | bool | overrideScene, | |
| OGREFogMode | mode, | |||
| in_Vector3f * | colour, | |||
| float | expDensity, | |||
| float | linearStart, | |||
| float | linearEnd | |||
| ) |
| void DigitalSpaces::DIOGRETechnique::SetDepthBias | ( | float | constantBias, | |
| float | slopeScaleBias | |||
| ) |
Sets the depth bias to be used for each Pass.
| void DigitalSpaces::DIOGRETechnique::SetTextureFiltering | ( | OGRETextureFilterOptions | filterType | ) |
Set texture filtering for every texture unit in every Pass.
| void DigitalSpaces::DIOGRETechnique::SetTextureAnisotropy | ( | unsigned int | maxAniso | ) |
Sets the anisotropy level to be used for all textures.
| void DigitalSpaces::DIOGRETechnique::SetSceneBlending | ( | OGRESceneBlendType | sbt | ) |
Sets the kind of blending every pass has with the existing contents of the scene.
| void DigitalSpaces::DIOGRETechnique::SetSceneBlending | ( | OGRESceneBlendFactor | sourceFactor, | |
| OGRESceneBlendFactor | destFactor | |||
| ) |
Allows very fine control of blending every Pass with the existing contents of the scene.
| void DigitalSpaces::DIOGRETechnique::SetLodIndex | ( | unsigned short | index | ) |
Assigns a level-of-detail (LOD) index to this Technique.
| unsigned short DigitalSpaces::DIOGRETechnique::GetLodIndex | ( | void | ) |
Gets the level-of-detail index assigned to this Technique.
| bool DigitalSpaces::DIOGRETechnique::IsDepthWriteEnabled | ( | void | ) |
Is depth writing going to occur on this technique?
| bool DigitalSpaces::DIOGRETechnique::IsDepthCheckEnabled | ( | void | ) |
Is depth checking going to occur on this technique?
1.5.6