Share via


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

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.