Share via


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

Sets a Int32Leave Site value.

Definition

Visual Basic Public Sub SetValue( _
    ByVal constant As EffectHandle, _
    ByVal n As Integer _
)
C# public void SetValue(
    EffectHandle constant,
    int n
);
C++ public:
void SetValue(
    EffectHandleconstant,
    int n
);
JScript public function SetValue(
    constant : EffectHandle,
    n : int
);

Parameters

constant Microsoft.DirectX.Direct3D.EffectHandle
An EffectHandle object that represents the unique identifier to a constant.
n System.Int32
An Int32Leave Site value to set.