Microsoft DirectX 9.0 SDK Update (October 2004)

Effect.FindNextValidTechnique Method

Language:

Note: This documentation is preliminary and is subject to change.

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

Definition

Visual Basic .NET Public Function FindNextValidTechnique( _
    ByVal technique As EffectHandle _
) As EffectHandle
C# public EffectHandle FindNextValidTechnique(
    EffectHandle technique
);
Managed C++ public: EffectHandle* FindNextValidTechnique(
    EffectHandle *technique
);
JScript .NET 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


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center