BaseEffect.GetTechnique Method

Language:

Retrieves the EffectHandle of a technique.

Definition

Visual Basic Public Function GetTechnique( _
    ByVal index As Integer _
) As EffectHandle
C# public EffectHandle GetTechnique(
    int index
);
C++ public:
EffectHandleGetTechnique(
    int index
);
JScript 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

Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

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