TextureShader.SetValue Method

Language:

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.

Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.