Click or drag to resize
DigitalRuneDictionaryEffectInterpreter Class
Provides description of effect techniques and parameters by comparing their names, semantics, and annotations against a dictionary.
Inheritance Hierarchy

Namespace: DigitalRune.Graphics.Effects
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
public class DictionaryEffectInterpreter : IEffectInterpreter

The DictionaryEffectInterpreter type exposes the following members.

Constructors
  NameDescription
Public methodDictionaryEffectInterpreter
Initializes a new instance of the DictionaryEffectInterpreter class.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetDescription(Effect, EffectParameter)
Interprets the specified effect parameter.
Public methodGetDescription(Effect, EffectTechnique)
Interprets the specified effect technique.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Properties
  NameDescription
Public propertyParameterDescriptions
Gets or sets factory methods for effect parameter descriptions.
Public propertyTechniqueDescriptions
Gets or sets factory methods for effect technique descriptions.
Top
Remarks

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.

See Also