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 [ dans]
-
Type : D3DXHANDLE
Identificateur unique. Consultez Handles (Direct3D 9).
-
PN [ dans]
-
Type : const int *
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 |
|
| Bibliothèque |
|