Share via


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

Sets an array of SingleLeave Site values.

Definition

Visual Basic Public Sub SetValue( _
    ByVal constant As EffectHandle, _
    ByVal f() As Single _
)
C# public void SetValue(
    EffectHandle constant,
    float[] f
);
C++ public:
void SetValue(
    EffectHandleconstant,
    array<float>^ f
);
JScript public function SetValue(
    constant : EffectHandle,
    f : float[]
);

Parameters

constant Microsoft.DirectX.Direct3D.EffectHandle
An EffectHandle object that represents the unique identifier to a constant.
f System.Single[]
An array of SingleLeave Site values to set.