BaseEffect.GetValueColorArray(EffectHandle,Int32) Method (Microsoft.DirectX.Direct3D)

Retrieves an array of ColorValue structures.

Definition

Visual Basic Public Function GetValueColorArray( _
    ByVal parameter As EffectHandle, _
    ByVal count As Integer _
) As ColorValue()
C# public ColorValue[] GetValueColorArray(
    EffectHandle parameter,
    int count
);
C++ public:
array<ColorValue>^ GetValueColorArray(
    EffectHandleparameter,
    int count
);
JScript public function GetValueColorArray(
    parameter : EffectHandle,
    count : int
) : ColorValue[];

Parameters

parameter Microsoft.DirectX.Direct3D.EffectHandle
An EffectHandle associated with the color value array.
count System.Int32
Number of values in the returned array.

Return Value

Microsoft.DirectX.Direct3D.ColorValue[]
Array of ColorValue structures.

Remarks

Exceptions

InvalidCallException

The call is invalid.

Applies To

Effect, EffectCompiler