BaseEffect.GetFunction Method

Language:

Retrieves a function.

Definition

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

Parameters

name System.String
String that contains the name of the function.

Return Value

Microsoft.DirectX.Direct3D.EffectHandle
Specified EffectHandle associated with the function, or null if it 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