Microsoft DirectX 8.1 (C++) |
Clones a mesh using a flexible vertex format (FVF) code.
HRESULT CloneMeshFVF( DWORD Options, DWORD FVF, LPDIRECT3DDEVICE8 pD3DDevice, LPD3DXMESH* ppCloneMesh );
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 |
E_OUTOFMEMORY |
This method applies to the following interfaces, which inherit from ID3DXBaseMesh.
CloneMeshFVF can be used to convert a mesh from one FVF to another.
Header: Declared in D3dx8mesh.h.
Import Library: Use D3dx8.lib.