BaseEffect.GetParameterBySemantic Method |
Language: |
Retrieves the handle of a top-level parameter or structure member parameter by looking up its semantic.
Visual Basic Public Function GetParameterBySemantic( _
ByVal constant As EffectHandle, _
ByVal name As String _
) As EffectHandleC# public EffectHandle GetParameterBySemantic(
EffectHandle constant,
string name
);C++ public:
EffectHandle^ GetParameterBySemantic(
EffectHandle^ constant,
String^ name
);JScript public function GetParameterBySemantic(
constant : EffectHandle,
name : String
) : EffectHandle;
constant Microsoft.DirectX.Direct3D.EffectHandle
The EffectHandle of the parameter, or null for top-level parameters.name System.String
String that contains the semantic name.
Microsoft.DirectX.Direct3D.EffectHandle
The EffectHandle of the first parameter that matches the specified semantic, or null if the semantic 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