Click or drag to resize
DigitalRuneDictionaryEffectBinderCreateConstParameterBindingVector4 Method

Namespace: DigitalRune.Graphics.Effects
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
public static EffectParameterBinding CreateConstParameterBindingVector4(
	Effect effect,
	EffectParameter parameter,
	IDictionary<string, Object> opaqueData,
	string key,
	float defaultW
)

Parameters

effect
Type: Effect
The effect.
parameter
Type: EffectParameter
The parameter.
opaqueData
Type: System.Collections.GenericIDictionaryString, Object
The opaque data. Can be .
key
Type: SystemString
The key of an item in the opaque data.
defaultW
Type: SystemSingle
The default value for the fourth vector component. (If the default value in the opaque data is of type Vector3 then the w component of the Vector4 is set to this default value.)

Return Value

Type: EffectParameterBinding
The ConstParameterBindingT.
See Also