Click or drag to resize
DigitalRuneEffectBindingSetT Method (EffectParameter, ActionDelegateParameterArrayBindingT, RenderContext, T)

Namespace: DigitalRune.Graphics.Effects
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
public DelegateParameterArrayBinding<T> Set<T>(
	EffectParameter parameter,
	Action<DelegateParameterArrayBinding<T>, RenderContext, T[]> computeParameter
)

Parameters

parameter
Type: EffectParameter
The effect parameter to which the binding is applied.
computeParameter
Type: SystemActionDelegateParameterArrayBindingT, RenderContext, T
The callback function that computes the parameter values.

Type Parameters

T
The value type. See EffectParameterArrayBindingT.

Return Value

Type: DelegateParameterArrayBindingT
The DelegateParameterArrayBindingT that has been set.
Exceptions
ExceptionCondition
ArgumentNullExceptionparameter is .
EffectBindingException The value type T is not supported.
Remarks
If an appropriate effect parameter binding for parameter already exists, then the existing binding is updated.
See Also