Share via


ID3DXBaseEffect::SetIntArray, méthode

Définit un tableau d’entiers.

Syntaxe

HRESULT SetIntArray(
  [in]       D3DXHANDLE hParameter,
  [in] const INT        *pn,
  [in]       UINT       Count
);

Paramètres

hParameter [in]

Type : D3DXHANDLE

Identificateur unique. Consultez Handles (Direct3D 9).

pn [in]

Type : const INT*

Tableau d’entiers.

Count [in]

Type : UINT

Nombre d’entiers dans le tableau.

Valeur retournée

Type : HRESULT

Si la méthode réussit, 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

GetIntArray