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

Header

D3DX9Shader.h

Library

D3dx9.lib

 

 

Community Additions

ADD
Show:
© 2014 Microsoft