Click or drag to resize
DigitalRuneEffectBinding Constructor (IGraphicsService, Effect, IDictionaryString, Object, EffectParameterHint)
Initializes a new instance of the EffectBinding class with the given settings.

Namespace: DigitalRune.Graphics.Effects
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
public EffectBinding(
	IGraphicsService graphicsService,
	Effect effect,
	IDictionary<string, Object> opaqueData,
	EffectParameterHint hints
)

Parameters

graphicsService
Type: DigitalRune.GraphicsIGraphicsService
The graphics service.
effect
Type: Effect
The effect.
opaqueData
Type: System.Collections.GenericIDictionaryString, Object
The opaque data. Can be .
hints
Type: DigitalRune.Graphics.EffectsEffectParameterHint
A bitwise combination of EffectParameterHint values. The value defines which parameter bindings can be added to the effect binding.
Exceptions
ExceptionCondition
ArgumentNullExceptiongraphicsService or effect is .
ArgumentExceptioneffect is an XNA stock effect. The effect binding cannot be used with XNA stock effects.
See Also