Share via


BaseEffect.GetFunctionDescription(EffectHandle) Method (Microsoft.DirectX.Direct3D)

Retrieves a function description.

Definition

Visual Basic Public Function GetFunctionDescription( _
    ByVal shader As EffectHandle _
) As FunctionDescription
C# public FunctionDescription GetFunctionDescription(
    EffectHandle shader
);
C++ public:
FunctionDescription GetFunctionDescription(
    EffectHandleshader
);
JScript public function GetFunctionDescription(
    shader : EffectHandle
) : FunctionDescription;

Parameters

shader Microsoft.DirectX.Direct3D.EffectHandle
An EffectHandle object that indicates the function form from which to retrieve the description.

Return Value

Microsoft.DirectX.Direct3D.FunctionDescription
A FunctionDescription structure that describes the function.

Remarks

Exceptions

InvalidCallException

The call is invalid.

Applies To

Effect, EffectCompiler