| EffectBindingSetT Method (String, T) |
Namespace: DigitalRune.Graphics.EffectsAssembly: 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
)
Public Function Set(Of T) (
name As String,
values As T()
) As ConstParameterArrayBinding(Of T)
public:
generic<typename T>
ConstParameterArrayBinding<T>^ Set(
String^ name,
array<T>^ values
)
member Set :
name : string *
values : 'T[] -> ConstParameterArrayBinding<'T>
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:
ConstParameterArrayBindingTThe
ConstParameterArrayBindingT that has been set.
Exceptions Remarks
If an appropriate effect parameter binding for the effect parameter already exists, then the
existing binding is updated.
See Also