BaseEffect.GetParameterElement Method |
Language: |
Retrieves the EffectHandle of an array element parameter.
Visual Basic Public Function GetParameterElement( _
ByVal constant As EffectHandle, _
ByVal index As Integer _
) As EffectHandleC# public EffectHandle GetParameterElement(
EffectHandle constant,
int index
);C++ public:
EffectHandle^ GetParameterElement(
EffectHandle^ constant,
int index
);JScript public function GetParameterElement(
constant : EffectHandle,
index : int
) : EffectHandle;
constant Microsoft.DirectX.Direct3D.EffectHandle
The EffectHandle associated with the array.index System.Int32
Array element index.
Microsoft.DirectX.Direct3D.EffectHandle
Handle of the specified parameter, or null if either param_EffectHandle_constant or param_Int32_index is invalid.
This method is used to get an element of a parameter that is an array.
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