D3DXSaveMeshToX Little Help

Just starting out? Need help? Post your questions and find answers here.
Num3
PureBasic Expert
PureBasic Expert
Posts: 2812
Joined: Fri Apr 25, 2003 4:51 pm
Location: Portugal, Lisbon
Contact:

D3DXSaveMeshToX Little Help

Post by Num3 »

Ok, i'm having a blank :? , maybe i need more coffee ...

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 have the D3dx9.lib in PureLibraries\Windows\Libraries but i get a "D3DXSaveMeshToX_("level.x",*parentnode,0,*texture,0,1,0|2) is not a function, array, etc" error ...

I know i'm doing something really stupid, can anyone help?
spike0314
User
User
Posts: 17
Joined: Wed Oct 24, 2007 12:28 pm

Post by spike0314 »

have you tryed to remove "_" at the end I'm only say because the dx9 lib i have doesnt have the "_" at the end
Post Reply