Share via


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

Retrieves an array of floating-point values.

Definition

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

Parameters

parameter Microsoft.DirectX.Direct3D.EffectHandle
Unique EffectHandle identifier.
count System.Int32
Number of floating-point values in the returned array.

Return Value

System.Single[]
Array of SingleLeave Site values.

Remarks

Exceptions

InvalidCallException

The call is invalid.

Applies To

Effect, EffectCompiler