BaseEffect.GetParameter(EffectHandle,String) Method (Microsoft.DirectX.Direct3D)
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 EffectHandleC# public EffectHandle GetParameter(
EffectHandle constant,
string name
);C++ public:
EffectHandle^ GetParameter(
EffectHandle^ constant,
String^ name
);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