Microsoft DirectX 9.0 SDK Update (October 2004)

BaseEffect.GetFunction Method

Language:

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

Retrieves a function.

Definition

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

© 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