ID3DXConstantTable :: GetSamplerIndex, méthode

Retourne l’index de l’échantillonneur.

Syntaxe

UINT GetSamplerIndex(
  [out] D3DXHANDLE hConstant
);

Paramètres

hConstant [ à]

Type : D3DXHANDLE

Handle de l’échantillonneur.

Valeur de retour

Type : uint

Retourne le numéro d’index de l’échantillonneur à partir de la table constante.

Spécifications

Condition requise Valeur
En-tête
D3DX9Shader. h
Bibliothèque
D3dx9. lib

Voir aussi

ID3DXConstantTable