Returns the sampler index.
UINT GetSamplerIndex( D3DXHANDLE hConstant );
Returns the sampler index number from the constant table.
Header: Declared in D3dx9shader.h.