D3DRMSAVEOPTIONS

Defines options for the IDirect3DRMMeshBuilder::Save method.

typedef DWORD D3DRMSAVEOPTIONS;

#define D3DRMXOFSAVE_NORMALS 1

#define D3DRMXOFSAVE_TEXTURECOORDINATES 2

#define D3DRMXOFSAVE_MATERIALS 4

#define D3DRMXOFSAVE_TEXTURENAMES 8

#define D3DRMXOFSAVE_ALL 15

#define D3DRMXOFSAVE_TEMPLATES 16

#define D3DRMSAVE_TEXTURETOPOLOGY 32

Parameters

D3DRMXOFSAVE_NORMALS

Save normal vectors in addition to the basic geometry.

D3DRMXOFSAVE_TEXTURECOORDINATES

Save texture coordinates in addition to the basic geometry.

D3DRMXOFSAVE_MATERIALS

Save materials in addition to the basic geometry.

D3DRMXOFSAVE_TEXTURENAMES

Save texture names in addition to the basic geometry.

D3DRMXOFSAVE_ALL

Save normal vectors, texture coordinates, materials, and texture names in addition to the basic geometry.

D3DRMXOFSAVE_TEMPLATES

Save templates with the file. By default, templates are not saved.

D3DRMSAVE_TEXTURETOPOLOGY

Save the mesh's face wrap values (set by IDirect3DRMMeshBuilder::SetTextureTopology or IDirect3DRMFace::SetTextureTopology). This flag is not included when you pass D3DRMXOFSAVE_ALL to the Save method. You should pass D3DRMSAVE_TEXTURETOPOLOGY|D3DRMXOFSAVE_ALL if you really want to save everything. You only need to pass this flag when you've called IDirect3DRMMeshBuilder::SetTextureTopology or IDirect3DRMFace::SetTextureTopology) calls and want to preserve the values you set.