ID3DXConstantTable::GetSamplerIndex method

Returns the sampler index.

Syntax

UINT GetSamplerIndex(
  [out] D3DXHANDLE hConstant
);

Parameters

hConstant [out]

Type: D3DXHANDLE

The sampler handle.

Return value

Type: UINT

Returns the sampler index number from the constant table.

Requirements

Requirement Value
Header
D3DX9Shader.h
Library
D3dx9.lib

See also

ID3DXConstantTable