| DictionaryEffectBinderCreateDelegateParameterBindingT Method |
Namespace: DigitalRune.Graphics.EffectsAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax public static EffectParameterBinding CreateDelegateParameterBinding<T>(
Effect effect,
EffectParameter parameter,
Func<DelegateParameterBinding<T>, RenderContext, T> computeParameter
)
Public Shared Function CreateDelegateParameterBinding(Of T) (
effect As Effect,
parameter As EffectParameter,
computeParameter As Func(Of DelegateParameterBinding(Of T), RenderContext, T)
) As EffectParameterBinding
public:
generic<typename T>
static EffectParameterBinding^ CreateDelegateParameterBinding(
Effect^ effect,
EffectParameter^ parameter,
Func<DelegateParameterBinding<T>^, RenderContext^, T>^ computeParameter
)
static member CreateDelegateParameterBinding :
effect : Effect *
parameter : EffectParameter *
computeParameter : Func<DelegateParameterBinding<'T>, RenderContext, 'T> -> EffectParameterBinding
Parameters
- effect
- Type: Effect
The effect. - parameter
- Type: EffectParameter
The effect parameter. - computeParameter
- Type: SystemFuncDelegateParameterBindingT, RenderContext, T
The callback method that computes the value.
Type Parameters
- T
- The type of the effect parameter.
Return Value
Type:
EffectParameterBindingThe
DelegateParameterBindingT.
See Also