Microsoft DirectX 9.0 SDK Update (October 2004)

BaseEffect.GetTechnique Method

Language:

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

Retrieves the EffectHandle of a technique.

Definition

Visual Basic .NET Public Function GetTechnique( _
    ByVal index As Integer _
) As EffectHandle
C# public EffectHandle GetTechnique(
    int index
);
Managed C++ public: EffectHandle* GetTechnique(
    int index
);
JScript .NET public function GetTechnique(
    index : int
) : EffectHandle;

Parameters

index System.Int32. Technique index.

Return Value

Microsoft.DirectX.Direct3D.EffectHandle . The EffectHandle of the first technique that has the specified name, or null if the name is not found.

Applies To

Effect, EffectCompiler

© 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