Gets a constant by looking up its index.
D3DXHANDLE GetConstant( D3DXHANDLE hConstant, UINT Index );
Returns a unique identifier to the constant.
To get a constant from an array of constants, use ID3DXTextureShader::GetConstantElement.
Header: Declared in D3dx9shader.h.