Share via


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

Sets a SingleLeave Site value.

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,
    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
A SingleLeave Site value to set.