Share via


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

Validates a technique.

Definition

Visual Basic Public Function IsTechniqueValid( _
    ByVal technique As EffectHandle, _
    ByRef returnValue As Integer _
) As Boolean
C# public bool IsTechniqueValid(
    EffectHandle technique,
    out int returnValue
);
C++ public:
bool IsTechniqueValid(
    EffectHandletechnique,
    [Out] intreturnValue
);
JScript public function IsTechniqueValid(
    technique : EffectHandle,
    returnValue : int
) : boolean;

Parameters

technique Microsoft.DirectX.Direct3D.EffectHandle
The EffectHandle of a technique.
returnValue System.Int32
Return code for validation.

Return Value

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