Свойство | Тип | Описание | |
---|---|---|---|
EffectParameterNames | string[] |
Метод | Описание | |
---|---|---|
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
|
Метод | Описание | |
---|---|---|
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 |
Результат | System |
public GetTechnique ( |
||
effect | The effect | |
techniqueName | string | The name of the technique |
Результат |
public ValidateCache ( bool updateNow ) : bool | ||
updateNow | bool | Whether or not the cache should be updated if found invalid |
Результат | bool |
public this ( |
||
effect | The effect | |
parameterName | string | The parameter name |
Результат |
public this ( EffectParameterNamesEnum name ) : List |
||
name | EffectParameterNamesEnum | The name of the parameter |
Результат | List |
public this ( string name ) : List |
||
name | string | The name of the parameters to retrieve |
Результат | List |