| DictionaryEffectBinderCreateConstParameterBindingVector4 Method |
Namespace: DigitalRune.Graphics.EffectsAssembly: 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
)
Public Shared Function CreateConstParameterBindingVector4 (
effect As Effect,
parameter As EffectParameter,
opaqueData As IDictionary(Of String, Object),
key As String,
defaultW As Single
) As EffectParameterBinding
public:
static EffectParameterBinding^ CreateConstParameterBindingVector4(
Effect^ effect,
EffectParameter^ parameter,
IDictionary<String^, Object^>^ opaqueData,
String^ key,
float defaultW
)
static member CreateConstParameterBindingVector4 :
effect : Effect *
parameter : EffectParameter *
opaqueData : IDictionary<string, Object> *
key : string *
defaultW : float32 -> EffectParameterBinding
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:
EffectParameterBindingThe
ConstParameterBindingT.
See Also