BaseEffect.GetFunction Method

Language:

Retrieves a function.

Definition

Visual Basic Public Function GetFunction( _
    ByVal index As Integer _
) As EffectHandle
C# public EffectHandle GetFunction(
    int index
);
C++ public:
EffectHandleGetFunction(
    int index
);
JScript public function GetFunction(
    index : int
) : EffectHandle;

Parameters

index System.Int32
Index 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