Click or drag to resize
DigitalRuneConstParameterArrayBindingT Constructor (Effect, EffectParameter, T)

Namespace: DigitalRune.Graphics.Effects
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
public ConstParameterArrayBinding(
	Effect effect,
	EffectParameter parameter,
	T[] values
)

Parameters

effect
Type: Effect
The effect.
parameter
Type: EffectParameter
The effect parameter.
values
Type: T
The array of values.
Exceptions
ExceptionCondition
ArgumentNullExceptioneffect, parameter, or values is .
ArgumentException The number of elements in values does not match the number of elements of parameter.
EffectBindingException The value type T is not supported.
InvalidOperationExceptionparameter does not represent an array of values.
See Also