Compartilhar via


D3DMFILLMODE (Windows CE 5.0)

Send Feedback

This enumeration provides values that describe how primitives should be rasterized. For more information, see Rasterization. It is used to provide values for the D3DMRS_FILLMODE render state (see D3DMRENDERSTATETYPE).

typedef enum _D3DMFILLMODE {  D3DMFILL_POINT       = 1,  D3DMFILL_WIREFRAME   = 2,  D3DMFILL_SOLID       = 3,  D3DMFILL_FORCE_ULONG = 0x7fffffff,} D3DMFILLMODE;

Elements

  • D3DMFILL_POINT
    Indicates that the vertices of triangle primitives are rasterized as individual points. This mode does not apply to point or line primitives.
  • D3DMFILL_WIREFRAME
    Indicates that the vertices of the primitive are rasterized as lines. Point primitives are treated as degenerate lines and still rasterized as points. Line primitives are unchanged. Triangles primitives are rasterized as a set of 3 interconnected lines.
  • D3DMFILL_SOLID
    All primitives are filled. All primitives are rasterized normally.
  • D3DMFILL_FORCE_ULONG
    Forces the compiler to interpret the enumeration as a ULONG value. This value is not used directly in Direct3D Mobile programming.

Requirements

OS Versions: Windows CE 5.0 and later.
Header: D3dmtypes.h.

See Also

Direct3D Mobile Enumerations | Rasterization | D3DMRENDERSTATETYPE.

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.