Share via


Effect.IsParameterUsed(EffectHandle,EffectHandle) Method (Microsoft.DirectX.Direct3D)

Determines whether a parameter is used by a technique.

Definition

Visual Basic Public Function IsParameterUsed( _
    ByVal parameter As EffectHandle, _
    ByVal technique As EffectHandle _
) As Boolean
C# public bool IsParameterUsed(
    EffectHandle parameter,
    EffectHandle technique
);
C++ public:
bool IsParameterUsed(
    EffectHandleparameter,
    EffectHandletechnique
);
JScript public function IsParameterUsed(
    parameter : EffectHandle,
    technique : EffectHandle
) : boolean;

Parameters

parameter Microsoft.DirectX.Direct3D.EffectHandle
An EffectHandle object that acts as a unique identifier for the parameter.
technique Microsoft.DirectX.Direct3D.EffectHandle
An EffectHandle object that acts as a unique identifier for the technique.

Return Value

System.Boolean
Value that is true if the parameter is being used, or false if it is not being used.