Condividi tramite


Struttura D3DXMESHCONTAINER

Incapsula un oggetto mesh in una gerarchia di frame di trasformazione.

Sintassi

typedef struct D3DXMESHCONTAINER {
  LPSTR                Name;
  D3DXMESHDATA         MeshData;
  LPD3DXMATERIAL       pMaterials;
  LPD3DXEFFECTINSTANCE pEffects;
  DWORD                NumMaterials;
  DWORD                *pAdjacency;
  LPD3DXSKININFO       pSkinInfo;
  D3DXMESHCONTAINER    *pNextMeshContainer;
} D3DXMESHCONTAINER, *LPD3DXMESHCONTAINER;

Members

Nome

Tipo: LPSTR

Nome mesh.

MeshData

Tipo: D3DXMESHDATA

Tipo di dati nella mesh. Vedere D3DXMESHDATA.

pMaterials

Tipo: LPD3DXMATERIAL

Matrice di materiali mesh. Vedere D3DXMATERIAL.

pEffects

Tipo: LPD3DXEFFECTINSTANCE

Puntatore a un set di parametri di effetto predefiniti. Vedere D3DXEFFECTINSTANCE.

NumMaterials

Tipo: DWORD

Numero di materiali nella mesh.

pAdjacency

Tipo: DWORD*

Puntatore a una matrice di tre DWORD per triangolo della mesh contenente informazioni sull'adjacency.

pSkinInfo

Tipo: LPD3DXSKININFO

Puntatore all'interfaccia delle informazioni sulla pelle. Vedere ID3DXSkinInfo.

pNextMeshContainer

Tipo: D3DXMESHCONTAINER*

Puntatore al contenitore mesh successivo.

Commenti

Un'applicazione può derivare da questa struttura per aggiungere altri dati.

Requisiti

Requisito Valore
Intestazione
D3dx9anim.h

Vedi anche

Strutture D3DX