BaseEffect.GetParameter Method |
Language: |
Retrieves a top-level parameter or a structure member parameter.
Visual Basic Public Function GetParameter( _
ByVal constant As EffectHandle, _
ByVal index As Integer _
) As EffectHandleC# public EffectHandle GetParameter(
EffectHandle constant,
int index
);C++ public:
EffectHandle^ GetParameter(
EffectHandle^ constant,
int index
);JScript public function GetParameter(
constant : EffectHandle,
index : int
) : EffectHandle;
constant Microsoft.DirectX.Direct3D.EffectHandle
An EffectHandle object that indicates the parameter, or null for top-level parameters.index System.Int32
Parameter index.
Microsoft.DirectX.Direct3D.EffectHandle
An EffectHandle of the specified parameter, or null if the parameter is not found.
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