DictionaryEffectInterpreter Class |
Namespace: DigitalRune.Graphics.Effects
The DictionaryEffectInterpreter type exposes the following members.
Name | Description | |
---|---|---|
DictionaryEffectInterpreter |
Initializes a new instance of the DictionaryEffectInterpreter class.
|
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetDescription(Effect, EffectParameter) |
Interprets the specified effect parameter.
| |
GetDescription(Effect, EffectTechnique) |
Interprets the specified effect technique.
| |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
ParameterDescriptions |
Gets or sets factory methods for effect parameter descriptions.
| |
TechniqueDescriptions |
Gets or sets factory methods for effect technique descriptions.
|
This interpreter owns two dictionaries (see TechniqueDescriptions and ParameterDescriptions), which are empty by default. The dictionary keys are case-insensitive strings, e.g. "WorldViewProjection". The dictionary value is a delegate that returns a EffectTechniqueDescription or a EffectParameterDescription for the given string. New dictionary entries can be added to add support for new effect techniques and parameters.