Share via


ID3DXConstantTable::SetMatrixTransposeArray, méthode

Définit un tableau de matrices transposees.

Syntaxe

HRESULT SetMatrixTransposeArray(
  [in]       LPDIRECT3DDEVICE9 pDevice,
  [in]       D3DXHANDLE        hConstant,
  [in] const D3DXMATRIX        *pMatrix,
  [in]       UINT              Count
);

Paramètres

pDevice [in]

Type : LPDIRECT3DDEVICE9

Pointeur vers une interface IDirect3DDevice9 , représentant l’appareil associé à la table constante.

hConstant [in]

Type : D3DXHANDLE

Identificateur unique du tableau de constantes de matrice. Consultez D3DXHANDLE.

pMatrix [in]

Type : const D3DXMATRIX*

Tableau de matrices transposees. Consultez D3DXMATRIX.

Count [in]

Type : UINT

Nombre de matrices 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

ID3DXConstantTable