BaseEffect.SetValue(EffectHandle,ColorValue[]) Method (Microsoft.DirectX.Direct3D)
Sets the value of an arbitrary parameter or annotation, including simple types, structures, arrays, strings, shaders, and textures.
Definition
Visual Basic Public Sub SetValue( _
ByVal parameter As EffectHandle, _
ByVal color() As ColorValue _
)C# public void SetValue(
EffectHandle parameter,
ColorValue[] color
);C++ public:
void SetValue(
EffectHandle^ parameter,
array<ColorValue>^ color
);JScript public function SetValue(
parameter : EffectHandle,
color : ColorValue[]
);
Parameters
parameter Microsoft.DirectX.Direct3D.EffectHandle
Unique EffectHandle identifier.color Microsoft.DirectX.Direct3D.ColorValue[]
Array of ColorValue structures to set.
Remarks
This method can be used in place of nearly all of the Set* methods in BaseEffect.
Exceptions
The call is invalid.
Applies To