Microsoft DirectX 8.1 (C++) |
Saves the progressive mesh to the specified stream object.
HRESULT Save( IStream* pStream, LPD3DXMATERIAL pMaterials, DWORD NumMaterials );
If the method succeeds, the return value is D3D_OK.
If the method fails, the return value can be one of the following values.
D3DERR_INVALIDCALL |
D3DXERR_INVALIDDATA |
E_OUTOFMEMORY |
For more information on the IStream interface, see the Microsoft® Platform Software Development Kit (SDK).
Header: Declared in D3dx8mesh.h.
Import Library: Use D3dx8.lib.