![]() |
![]() |
![]() |
TextureShader.GetConstant Method |
Language: |
Retrieves an effect constant.
Visual Basic .NET Public Function GetConstant( _
ByVal constant As EffectHandle, _
ByVal index As Integer _
) As EffectHandleC# public EffectHandle GetConstant(
EffectHandle constant,
int index
);Managed C++ public: EffectHandle* GetConstant(
EffectHandle *constant,
int index
);JScript .NET public function GetConstant(
constant : EffectHandle,
index : int
) : EffectHandle;
constant Microsoft.DirectX.Direct3D.EffectHandle. An EffectHandle object that represents the parent data structure. If the constant is a top-level parameter (there is no parent data structure), use null. index System.Int32. Zero-based index of the constant.
Microsoft.DirectX.Direct3D.EffectHandle . An EffectHandle that represents the effect constant.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center