D3DRMRENDERQUALITY

typedef enum _D3DRMSHADEMODE {

D3DRMSHADE_FLAT = 0,

D3DRMSHADE_GOURAUD = 1,

D3DRMSHADE_PHONG = 2,

D3DRMSHADE_MASK = 7,

D3DRMSHADE_MAX = 8

} D3DRMSHADEMODE;

typedef enum _D3DRMLIGHTMODE {

D3DRMLIGHT_OFF = 0 * D3DRMSHADE_MAX,

D3DRMLIGHT_ON = 1 * D3DRMSHADE_MAX,

D3DRMLIGHT_MASK = 7 * D3DRMSHADE_MAX,

D3DRMLIGHT_MAX = 8 * D3DRMSHADE_MAX

} D3DRMLIGHTMODE;

typedef enum _D3DRMFILLMODE {

D3DRMFILL_POINTS = 0 * D3DRMLIGHT_MAX,

D3DRMFILL_WIREFRAME = 1 * D3DRMLIGHT_MAX,

D3DRMFILL_SOLID = 2 * D3DRMLIGHT_MAX,

D3DRMFILL_MASK = 7 * D3DRMLIGHT_MAX,

D3DRMFILL_MAX = 8 * D3DRMLIGHT_MAX

} D3DRMFILLMODE;

typedef DWORD D3DRMRENDERQUALITY;

#define D3DRMRENDER_WIREFRAME (D3DRMSHADE_FLAT+D3DRMLIGHT_OFF+D3DRMFILL_WIREFRAME)

#define D3DRMRENDER_UNLITFLAT (D3DRMSHADE_FLAT+D3DRMLIGHT_OFF+D3DRMFILL_SOLID)

#define D3DRMRENDER_FLAT (D3DRMSHADE_FLAT+D3DRMLIGHT_ON+D3DRMFILL_SOLID)

#define D3DRMRENDER_GOURAUD (D3DRMSHADE_GOURAUD+D3DRMLIGHT_ON+D3DRMFILL_SOLID)

#define D3DRMRENDER_PHONG (D3DRMSHADE_PHONG+D3DRMLIGHT_ON+D3DRMFILL_SOLID)

Combines descriptions of the shading mode, lighting mode, and filling mode for a Direct3DRMMesh object.

D3DRMSHADEMODE, D3DRMLIGHTMODE, and D3DRMFILLMODE

These enumerated types describe the shade, light, and fill modes for Direct3DRMMesh objects.

D3DRMRENDER_WIREFRAME

Display only the edges.

D3DRMRENDER_UNLITFLAT

Flat shaded without lighting.

D3DRMRENDER_FLAT

Flat shaded.

D3DRMRENDER_GOURAUD

Gouraud shaded.

D3DRMRENDER_PHONG

Phong shaded. Phong shading is not supported for DirectX 2.