Share via


TextureShader.SetValue(EffectHandle,Vector4) Method (Microsoft.DirectX.Direct3D)

Sets a Vector4 object.

Definition

Visual Basic Public Sub SetValue( _
    ByVal constant As EffectHandle, _
    ByVal vector As Vector4 _
)
C# public void SetValue(
    EffectHandle constant,
    Vector4 vector
);
C++ public:
void SetValue(
    EffectHandleconstant,
    Vector4 vector
);
JScript public function SetValue(
    constant : EffectHandle,
    vector : Vector4
);

Parameters

constant Microsoft.DirectX.Direct3D.EffectHandle
An EffectHandle object that represents the unique identifier to a constant.
vector Microsoft.DirectX.Vector4
A Vector4 object to set.