D3DANTIALIASMODE

The D3DANTIALIASMODE enumerated type defines the supported antialiasing mode for the D3DRENDERSTATE_ANTIALIAS value in the D3DRENDERSTATETYPE enumerated type. These values define the settings only for full-scene antialiasing (for more information, see Antialiasing).

typedef enum _D3DANTIALIASMODE {
    D3DANTIALIAS_NONE          = 0,
    D3DANTIALIAS_SORTDEPENDENT = 1,
    D3DANTIALIAS_SORTINDEPENDENT = 2
    D3DANTIALIAS_FORCE_DWORD     = 0x7fffffff, 
} D3DANTIALIASMODE; 
 

Members

D3DANTIALIAS_NONE
No antialiasing is performed. This is the default setting.
D3DANTIALIAS_SORTDEPENDENT
Antialiasing is dependent on the sort order of the polygons (back-to-front or front-to-back). The application must draw polygons in the right order for antialiasing to occur.
D3DANTIALIAS_SORTINDEPENDENT
Antialiasing is not dependent on the sort order of the polygons.
D3DANTIALIAS_FORCE_DWORD
Forces this enumerated type to be 32 bits in size.

QuickInfo

  Windows NT/2000: Requires Windows NT 4.0 SP3 or later.
  Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
  Header: Declared in d3dtypes.h.