Share via


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

Sets a ColorValue object.

Definition

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

Parameters

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