Share via


Effect.IsTechniqueValid(EffectHandle) Method (Microsoft.DirectX.Direct3D)

Validates a technique.

Definition

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

Parameters

technique Microsoft.DirectX.Direct3D.EffectHandle
The EffectHandle of a technique.

Return Value

System.Boolean
A value that is set to true, if the technique is valid; otherwise, true.