Share via


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

Searches for the next valid technique, starting at the technique after the one specified.

Definition

Visual Basic Public Function FindNextValidTechnique( _
    ByVal technique As EffectHandle _
) As EffectHandle
C# public EffectHandle FindNextValidTechnique(
    EffectHandle technique
);
C++ public:
EffectHandleFindNextValidTechnique(
    EffectHandletechnique
);
JScript public function FindNextValidTechnique(
    technique : EffectHandle
) : EffectHandle;

Parameters

technique Microsoft.DirectX.Direct3D.EffectHandle
Unique identifier of a technique. For more information, see EffectHandle. Specify null for this parameter to find the first valid technique.

Return Value

Microsoft.DirectX.Direct3D.EffectHandle
An EffectHandle object that identifies the next technique, or null if the current technique is the last.

Remarks

Exceptions

InvalidCallException

The method call is invalid. For example, a method's parameter might contain an invalid value.

See Also