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 name As String _
) As EffectHandle
C# public EffectHandle GetParameter(
    EffectHandle constant,
    string name
);
C++ public:
EffectHandleGetParameter(
    EffectHandleconstant,
    Stringname
);
JScript public function GetParameter(
    constant : EffectHandle,
    name : String
) : EffectHandle;

Parameters

constant Microsoft.DirectX.Direct3D.EffectHandle
An EffectHandle object that indicates the parameter, or null for top-level parameters.
name System.String
String that contains the parameter name.

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