| EffectBindingSetT Method (EffectParameter, T) |
Namespace: DigitalRune.Graphics.EffectsAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax public ConstParameterBinding<T> Set<T>(
EffectParameter parameter,
T value
)
Public Function Set(Of T) (
parameter As EffectParameter,
value As T
) As ConstParameterBinding(Of T)
public:
generic<typename T>
ConstParameterBinding<T>^ Set(
EffectParameter^ parameter,
T value
)
member Set :
parameter : EffectParameter *
value : 'T -> ConstParameterBinding<'T>
Parameters
- parameter
- Type: EffectParameter
The effect parameter to which the binding is applied.
- value
- Type: T
The value.
Type Parameters
- T
- The value type. See EffectParameterBindingT.
Return Value
Type:
ConstParameterBindingTThe
ConstParameterBindingT that has been set.
Exceptions Remarks
If an appropriate effect parameter binding for parameter already exists,
then the existing binding is updated.
See Also