
I have a 3D mesh in memory (DX one) that i manually edit, but now i need to save it.
D3DXSaveMeshToX does that!
Code: Select all
HRESULT D3DXSaveMeshToX(
LPCTSTR pFilename,
LPD3DXMESH pMesh,
CONST DWORD * pAdjacency,
CONST D3DXMATERIAL * pMaterials,
CONST D3DXEFFECTINSTANCE * pEffectInstances,
DWORD NumMaterials,
DWORD Format
);
I know i'm doing something really stupid, can anyone help?