Click or drag to resize
DigitalRuneDelegateParameterBindingT Constructor (Effect, EffectParameter, FuncDelegateParameterBindingT, RenderContext, T)

Namespace: DigitalRune.Graphics.Effects
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
public DelegateParameterBinding(
	Effect effect,
	EffectParameter parameter,
	Func<DelegateParameterBinding<T>, RenderContext, T> computeParameter
)

Parameters

effect
Type: Effect
The effect.
parameter
Type: EffectParameter
The effect parameter.
computeParameter
Type: SystemFuncDelegateParameterBindingT, RenderContext, T
The callback method that computes the value.
Exceptions
ExceptionCondition
ArgumentNullExceptioneffect, parameter, or computeParameter is .
EffectBindingException The value type T is not supported.
See Also