Method | Description | |
---|---|---|
BuildEffect ( ) : Effect |
Builds the precedence table, determines the effect
|
|
Dispose ( ) : void |
Destroy this object
|
|
EnableDefaultLighting ( ) : void |
Needs to be implemented by the IEffectLight child
|
|
GenericEffect ( DefaultShaderType type ) : System | ||
GenericEffect ( Effect effectToAssimilate ) : System | ||
GetCurrentTechnique ( bool ShouldSetParameters ) : |
Get the current technique
|
|
GetEffect ( bool ShouldSetParameters ) : Effect |
Gets the internal effect
|
|
GetEffectTechnique ( string TechniqueName, bool ShouldSetParameters ) : |
Returns a technique based on the index provided. Will set the parameters for this effect;
|
|
SetCurrentTechnique ( string TechniqueName ) : void |
Sets the current technique to the one named.
|
|
SetPrecendenceValues ( float basicPrecedence, float dualTexturePrecedence, float environmentPredecence, float skinningPrecedence ) : void | ||
SetTextureAddressModeNoCall ( TextureAddressMode textureAddressMode ) : void |
Method | Description | |
---|---|---|
GenericEffect ( ) : System |
Constructor
|
Method | Description | |
---|---|---|
DetermineEffect ( bool createNewEffect ) : DefaultShaderType |
Determine's which of the four shaders this instance will use
|
|
DetermineEffect ( bool createNewEffect, Effect effectToTest ) : DefaultShaderType | ||
GetActiveEffect ( ) : Effect | ||
SetAlphaTestEffectParameters ( ) : void | ||
SetBasicEffectParameters ( ) : void |
Set the parameters for Basic Shader
|
|
SetCommonParameters ( ) : void |
Pass common information to the graphics device
|
|
SetDualTextureEffectParameters ( ) : void |
Sets the parameters for the dual texture effect
|
|
SetEffectParameters ( Effect effect ) : void | ||
SetEnvironmentMapEffectParameters ( ) : void |
Sets the parameters for the environment map effect
|
|
SetSkinningEffectParameters ( ) : void |
Sets the parameters for the skinned effect
|
public GenericEffect ( DefaultShaderType type ) : System | ||
type | DefaultShaderType | |
return | System |
public GenericEffect ( Effect effectToAssimilate ) : System | ||
effectToAssimilate | Effect | |
return | System |
public GetCurrentTechnique ( bool ShouldSetParameters ) : |
||
ShouldSetParameters | bool | Should we set the parameters this call |
return |
public GetEffect ( bool ShouldSetParameters ) : Effect | ||
ShouldSetParameters | bool | Should the parameters be set |
return | Effect |
public GetEffectTechnique ( string TechniqueName, bool ShouldSetParameters ) : |
||
TechniqueName | string | The index into the Technique List |
ShouldSetParameters | bool | Should we set the parameters |
return |
public SetCurrentTechnique ( string TechniqueName ) : void | ||
TechniqueName | string | |
return | void |
public SetPrecendenceValues ( float basicPrecedence, float dualTexturePrecedence, float environmentPredecence, float skinningPrecedence ) : void | ||
basicPrecedence | float | |
dualTexturePrecedence | float | |
environmentPredecence | float | |
skinningPrecedence | float | |
return | void |
public SetTextureAddressModeNoCall ( TextureAddressMode textureAddressMode ) : void | ||
textureAddressMode | TextureAddressMode | |
return | void |