Click or drag to resize
DigitalRuneByNameTechniqueBinding Class
Selects the technique where the technique name matches the current technique string of the render context (see property Technique).
Inheritance Hierarchy

Namespace: DigitalRune.Graphics.Effects
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
public sealed class ByNameTechniqueBinding : EffectTechniqueBinding

The ByNameTechniqueBinding type exposes the following members.

Constructors
  NameDescription
Public methodByNameTechniqueBinding
Initializes a new instance of the ByNameTechniqueBinding class.
Top
Methods
  NameDescription
Public methodClone
Creates a new EffectTechniqueBinding that is a clone of the current instance.
(Inherited from EffectTechniqueBinding.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetPassBinding
Gets the effect pass binding for the specified effect technique.
(Inherited from EffectTechniqueBinding.)
Public methodGetTechnique
Gets the effect technique that should be used for rendering.
(Inherited from EffectTechniqueBinding.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUpdate
Selects a technique for rendering the specified effect and sets the ID.
(Inherited from EffectTechniqueBinding.)
Top
Properties
  NameDescription
Public propertyId
Gets (or sets) an ID, which can be used for state-sorting.
(Inherited from EffectTechniqueBinding.)
Top
Remarks
This technique binding compares the technique names with the Technique string set in the RenderContext. If a matching technique is found, it is used; otherwise, the first technique is used.
See Also