Click or drag to resize
DigitalRuneDictionaryEffectBinder Class
Creates bindings for effect parameters using dictionaries with factory methods.
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 DictionaryEffectBinder : IEffectBinder

The DictionaryEffectBinder type exposes the following members.

Constructors
  NameDescription
Public methodDictionaryEffectBinder
Initializes a new instance of the DictionaryEffectBinder class
Top
Methods
  NameDescription
Public methodStatic memberCreateConstParameterBindingT
Public methodStatic memberCreateConstParameterBindingVector3
Public methodStatic memberCreateConstParameterBindingVector4
Public methodStatic memberCreateDelegateParameterArrayBindingT
Public methodStatic memberCreateDelegateParameterBindingT
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 methodGetBinding(Effect)
Gets the binding that selects the technique for rendering the specified effect.
Public methodGetBinding(Effect, EffectParameter, IDictionaryString, Object)
Gets the binding that provides the value for the specified effect parameter.
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 propertyBoolArrayBindings
Gets or sets the factory methods that create effect parameter bindings for Boolean[] parameters.
Public propertyBoolBindings
Gets or sets the factory methods that create effect parameter bindings for Boolean parameters.
Public propertyInt32ArrayBindings
Gets or sets the factory methods that create effect parameter bindings for Int32[] parameters.
Public propertyInt32Bindings
Gets or sets the factory methods that create effect parameter bindings for Int32 parameters.
Public propertyMatrixArrayBindings
Gets or sets the factory methods that create effect parameter bindings for Matrix[] parameters.
Public propertyMatrixBindings
Gets or sets the factory methods that create effect parameter bindings for Matrix parameters.
Public propertySingleArrayBindings
Gets or sets the factory methods that create effect parameter bindings for Single[] parameters.
Public propertySingleBindings
Gets or sets the factory methods that create effect parameter bindings for Single parameters.
Public propertyStructBindings
Gets or sets the factory methods that create effect parameter bindings for struct parameters.
Public propertyTexture2DBindings
Gets or sets the factory methods that create effect parameter bindings for Texture2D parameters.
Public propertyTexture3DBindings
Gets or sets the factory methods that create effect parameter bindings for Texture3D parameters.
Public propertyTextureBindings
Gets or sets the factory methods that create effect parameter bindings for Texture parameters.
Public propertyTextureCubeBindings
Gets or sets the factory methods that create effect parameter bindings for TextureCube parameters.
Public propertyVector2ArrayBindings
Gets or sets the factory methods that create effect parameter bindings for Vector2[] parameters.
Public propertyVector2Bindings
Gets or sets the factory methods that create effect parameter bindings for Vector2 parameters.
Public propertyVector3ArrayBindings
Gets or sets the factory methods that create effect parameter bindings for Vector3[] parameters.
Public propertyVector3Bindings
Gets or sets the factory methods that create effect parameter bindings for Vector3 parameters.
Public propertyVector4ArrayBindings
Gets or sets the factory methods that create effect parameter bindings for Vector4[] parameters.
Public propertyVector4Bindings
Gets or sets the factory methods that create effect parameter bindings for Vector4 parameters.
Top
Remarks

This effect binder owns several dictionaries that contain factory methods, which create effect parameter bindings for different value types.

All dictionaries are empty by default. The dictionary key is a case-sensitive usage name, e.g. "WorldViewProjection". The dictionary value is a factory method that creates an EffectParameterBinding. New dictionary entries can be added to support new effect parameters.

See Also