ID3DXConstantTable::GetSamplerIndex

Returns the sampler index.

UINT GetSamplerIndex(
  D3DXHANDLE hConstant
);

Parameters

hConstant
[out] The sampler handle.

Return Values

Returns the sampler index number from the constant table.

Requirements

Header: Declared in D3dx9shader.h.