TextureShader.SetValue Method

Language:

Sets an array of ColorValue objects.

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,
    array<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[]
An array of ColorValue objects to set.

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

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