次の方法で共有


D3DMFILLMODE (Windows Embedded CE 6.0)

1/6/2010

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).

Syntax

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

Header d3dmtypes.h
Windows Embedded CE Windows CE 5.0 and later

See Also

Reference

Direct3D Mobile Enumerations
D3DMRENDERSTATETYPE

Concepts

Rasterization