BaseEffect.GetTechnique Method

Language:

Retrieves the EffectHandle of a technique.

Definition

Visual Basic Public Function GetTechnique( _
    ByVal name As String _
) As EffectHandle
C# public EffectHandle GetTechnique(
    string name
);
C++ public:
EffectHandleGetTechnique(
    Stringname
);
JScript public function GetTechnique(
    name : String
) : EffectHandle;

Parameters

name System.String
String that contains the technique name.

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