Click or drag to resize
DigitalRuneEffectBindingSetT Method (String, T)

Namespace: DigitalRune.Graphics.Effects
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
public ConstParameterArrayBinding<T> Set<T>(
	string name,
	T[] values
)

Parameters

name
Type: SystemString
The name of the effect parameter to which the binding is applied.
values
Type: T
The array of values.

Type Parameters

T
The value type. See EffectParameterArrayBindingT.

Return Value

Type: ConstParameterArrayBindingT
The ConstParameterArrayBindingT that has been set.
Exceptions
ExceptionCondition
ArgumentNullExceptionname is .
ArgumentExceptionname is empty.
KeyNotFoundExceptionEffect does not contain an EffectParameter with the given name.
EffectBindingException The value type T is not supported.
Remarks
If an appropriate effect parameter binding for the effect parameter already exists, then the existing binding is updated.
See Also