Share via


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

Sets a BooleanLeave Site value.

Definition

Visual Basic Public Sub SetValue( _
    ByVal constant As EffectHandle, _
    ByVal b As Boolean _
)
C# public void SetValue(
    EffectHandle constant,
    bool b
);
C++ public:
void SetValue(
    EffectHandleconstant,
    bool b
);
JScript public function SetValue(
    constant : EffectHandle,
    b : boolean
);

Parameters

constant Microsoft.DirectX.Direct3D.EffectHandle
An EffectHandle object that represents the unique identifier to a constant.
b System.Boolean
A BooleanLeave Site value to set.