D3DXMESHCONTAINER structure
Encapsulates a mesh object in a transformation frame hierarchy.
Syntax
typedef struct D3DXMESHCONTAINER {
LPSTR Name;
D3DXMESHDATA MeshData;
LPD3DXMATERIAL pMaterials;
LPD3DXEFFECTINSTANCE pEffects;
DWORD NumMaterials;
DWORD *pAdjacency;
LPD3DXSKININFO pSkinInfo;
D3DXMESHCONTAINER *pNextMeshContainer;
} D3DXMESHCONTAINER, *LPD3DXMESHCONTAINER;
Members
-
Name
-
Type: LPSTR
-
Mesh name.
-
MeshData
-
Type: D3DXMESHDATA
-
Type of data in the mesh. See D3DXMESHDATA.
-
pMaterials
-
Type: LPD3DXMATERIAL
-
Array of mesh materials. See D3DXMATERIAL.
-
pEffects
-
Type: LPD3DXEFFECTINSTANCE
-
Pointer to a set of default effect parameters. See D3DXEFFECTINSTANCE.
-
NumMaterials
-
Type: DWORD
-
Number of materials in the mesh.
-
pAdjacency
-
Type: DWORD*
-
Pointer to an array of three DWORDs per triangle of the mesh that contains adjacency information.
-
pSkinInfo
-
Type: LPD3DXSKININFO
-
Pointer to the skin information interface. See ID3DXSkinInfo.
-
pNextMeshContainer
-
Type: D3DXMESHCONTAINER*
-
Pointer to the next mesh container.
Remarks
An application can derive from this structure to add other data.
Requirements
Requirement | Value |
---|---|
Header |
|
See also