Свойство | Тип | Описание | |
---|---|---|---|
_GPUDeviceNameRules | List |
||
_GPUVendorRules | List |
Метод | Описание | |
---|---|---|
ApplyTextureAliases ( string>.Dictionary |
||
Clone ( |
Clones this Technique.
|
|
CompileIlluminationPasses ( ) : void |
Internal method for splitting the passes into illumination passes.
|
|
CopyTo ( |
Copy the details of this Technique to another.
|
|
CreatePass ( ) : |
Creates a new Pass for this technique. A Pass is a single rendering pass, ie a single draw of the given material. Note that if you create a non-programmable pass, during compilation of the material the pass may be split into multiple passes if the graphics card cannot handle the number of texture units requested. For programmable passes, however, the number of passes you create will never be altered, so you have to make sure that you create an alternative fallback Technique for if a card does not have enough facilities for what you're asking for. |
|
GetIlluminationPass ( int index ) : |
Retreives the IlluminationPass at the specified index.
|
|
GetPass ( int index ) : |
Retreives the Pass at the specified index.
|
|
GetPass ( string passName ) : |
Retreives the Pass by name.
|
|
Load ( ) : void |
Loads resources required by this Technique.
|
|
Preload ( ) : void |
Preloads resources required by this Technique. This is the portion that is safe to do from a thread other than the main render thread.
|
|
RemoveAllPasses ( ) : void |
Removes all passes from this technique and queues them for deletion.
|
|
RemovePass ( |
Removes the specified Pass from this Technique.
|
|
SetFog ( bool overrideScene ) : void | ||
SetFog ( bool overrideScene, FogMode mode, |
Sets the fogging mode applied to each pass. This property actually exists on the Pass class. For simplicity, this method allows you to set these properties for every current Pass within this Technique. If you need more precision, retrieve the Pass instance and set the property there. |
|
SetSceneBlending ( SceneBlendFactor src, SceneBlendFactor dest ) : void | ||
SetSceneBlending ( SceneBlendType blendType ) : void | ||
SetShadowCasterMaterial ( string name ) : void | ||
SetShadowReceiverMaterial ( string name ) : void | ||
Technique ( |
||
Unload ( ) : void |
Unloads resources used by this Technique.
|
Метод | Описание | |
---|---|---|
ClearIlluminationPasses ( ) : void |
Internal method for clearing the illumination pass list.
|
Метод | Описание | |
---|---|---|
AddGPUDeviceNameRule ( GPUDeviceNameRule rule ) : void |
Add a rule which manually influences the support for this technique based on a pattern that matches a GPU device name (e.g. '*8800*'). You can use this facility to manually control whether a technique is considered supported, based on a GPU device name pattern. You can add inclusive or exclusive rules, and you can add as many of each as you like. If at least one inclusive rule is added, a technique is considered unsupported if it does not match any of those inclusive rules. If exclusive rules are added, the technique is considered unsupported if it matches any of those inclusive rules. The pattern you supply can include wildcard characters ('*') if you only want to match part of the device name. Note that any rule for the same device pattern will be removed before adding this one. |
|
AddGPUVenderRule ( GPUVendorRule rule ) : void |
Add a rule which manually influences the support for this technique based on a GPU vendor. You can use this facility to manually control whether a technique is considered supported, based on a GPU vendor. You can add inclusive or exclusive rules, and you can add as many of each as you like. If at least one inclusive rule is added, a technique is considered unsupported if it does not match any of those inclusive rules. If exclusive rules are added, the technique is considered unsupported if it matches any of those inclusive rules. Note that any rule for the same vendor will be removed before adding this one. /// |
|
Compile ( bool autoManageTextureUnits ) : String |
Compilation method for Techniques. See Axiom.Graphics.Material
|
|
NotifyNeedsRecompile ( ) : void |
Forces this Technique to recompile. The parent Material is asked to recompile to accomplish this. |
|
RemoveGPUDeviceNameRule ( GPUDeviceNameRule rule ) : void |
Removes a matching device name rule.
|
|
RemoveGPUVendorRule ( GPUVendorRule rule ) : void |
Removes a matching vendor rule.
|
public ApplyTextureAliases ( string>.Dictionary |
||
aliasList | string>.Dictionary | |
apply | bool | |
Результат | bool |
protected ClearIlluminationPasses ( ) : void | ||
Результат | void |
public Clone ( |
||
parent | Material that will own this technique. | |
Результат |
public CompileIlluminationPasses ( ) : void | ||
Результат | void |
public GetIlluminationPass ( int index ) : |
||
index | int | Index of the IlluminationPass to retreive. |
Результат |
public GetPass ( int index ) : |
||
index | int | Index of the Pass to retreive. |
Результат |
public GetPass ( string passName ) : |
||
passName | string | Name of the Pass to retreive. |
Результат |
public RemovePass ( |
||
pass | A reference to the Pass to be removed. | |
Результат | void |
public SetFog ( bool overrideScene ) : void | ||
overrideScene | bool | |
Результат | void |
public SetFog ( bool overrideScene, FogMode mode, |
||
overrideScene | bool | |
mode | FogMode | |
color | ||
expDensity | Real | |
linearStart | Real | |
linearEnd | Real | |
Результат | void |
public SetSceneBlending ( SceneBlendFactor src, SceneBlendFactor dest ) : void | ||
src | SceneBlendFactor | |
dest | SceneBlendFactor | |
Результат | void |
public SetSceneBlending ( SceneBlendType blendType ) : void | ||
blendType | SceneBlendType | |
Результат | void |
public SetShadowCasterMaterial ( string name ) : void | ||
name | string | |
Результат | void |
public SetShadowReceiverMaterial ( string name ) : void | ||
name | string | |
Результат | void |
public Technique ( |
||
parent | ||
Результат | System |