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 EffectHandleC# public EffectHandle FindNextValidTechnique(
EffectHandle technique
);C++ public:
EffectHandle^ FindNextValidTechnique(
EffectHandle^ technique
);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
The method call is invalid. For example, a method's parameter might contain an invalid value.
See Also