ID3DXBaseEffect :: GetIntArray, méthode

Obtient un tableau d’entiers.

Syntaxe

HRESULT GetIntArray(
  [in]  D3DXHANDLE hParameter,
  [out] INT        *pn,
  [in]  UINT       Count
);

Paramètres

hParameter [ dans]

Type : D3DXHANDLE

Identificateur unique. Consultez Handles (Direct3D 9).

PN [ à]

Type : int*

Retourne un tableau d’entiers.

Nombre [ dans]

Type : uint

Nombre d’entiers dans le tableau.

Valeur de retour

Type : HRESULT

Si la méthode est réussie, la valeur de retour est D3D _ OK. Si la méthode échoue, la valeur de retour peut être D3DERR _ INVALIDCALL.

Spécifications

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

Voir aussi

ID3DXBaseEffect

SetIntArray