Share via


BaseEffect.GetFunction(String) Method (Microsoft.DirectX.Direct3D)

Retrieves a function.

Definition

Visual Basic Public Function GetFunction( _
    ByVal name As String _
) As EffectHandle
C# public EffectHandle GetFunction(
    string name
);
C++ public:
EffectHandleGetFunction(
    StringLeave Sitename
);
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