Returns the sampler index.
Syntax
UINT GetSamplerIndex( D3DXHANDLE hConstant );
Parameters
hConstant [out] The sampler handle.
Return Value
Returns the sampler index number from the constant table.