BaseEffect.GetParameter Method

Language:

Retrieves a top-level parameter or a structure member parameter.

Definition

Visual Basic Public Function GetParameter( _
    ByVal constant As EffectHandle, _
    ByVal index As Integer _
) As EffectHandle
C# public EffectHandle GetParameter(
    EffectHandle constant,
    int index
);
C++ public:
EffectHandleGetParameter(
    EffectHandleconstant,
    int index
);
JScript public function GetParameter(
    constant : EffectHandle,
    index : int
) : EffectHandle;

Parameters

constant Microsoft.DirectX.Direct3D.EffectHandle
An EffectHandle object that indicates the parameter, or null for top-level parameters.
index System.Int32
Parameter index.

Return Value

Microsoft.DirectX.Direct3D.EffectHandle
An EffectHandle of the specified parameter, or null if the parameter 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