Property | Type | Description | |
---|---|---|---|
EffectParameterNames | string[] |
Method | Description | |
---|---|---|
EffectCache ( |
Caches an effect's parameters
|
|
GetTechnique ( |
Gets the specified technique from the specified effect, or null if no technique by that name exists
|
|
UpdateCache ( ) : void |
Recreates the cache
|
|
ValidateCache ( bool updateNow ) : bool |
Validates the cached model/effect to make sure it hasn't changed
|
|
this ( |
Gets a parameter in a specified effect
|
|
this ( EffectParameterNamesEnum name ) : List |
Retrieves all parameters of one of the standard types
|
|
this ( string name ) : List |
Gets a list of parameters of the specified name
|
Method | Description | |
---|---|---|
CacheEffect ( |
Adds an effect to the cache
|
|
EffectCache ( ) : System |
Initializes parameter name strings
|
public EffectCache ( |
||
effect | The effect to cache | |
cacheShared | bool | Whether or not shared parameters should be cached |
return | System |
public GetTechnique ( |
||
effect | The effect | |
techniqueName | string | The name of the technique |
return |
public ValidateCache ( bool updateNow ) : bool | ||
updateNow | bool | Whether or not the cache should be updated if found invalid |
return | bool |
public this ( |
||
effect | The effect | |
parameterName | string | The parameter name |
return |
public this ( EffectParameterNamesEnum name ) : List |
||
name | EffectParameterNamesEnum | The name of the parameter |
return | List |
public this ( string name ) : List |
||
name | string | The name of the parameters to retrieve |
return | List |