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 for antialiasing the edges of primitives.

This type was introduced with DirectX 5.

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: Use version 4.0 or later.
  Windows: Use Windows 95 or later. Available as a redistributable for Windows 95.
  Windows CE: Unsupported.
  Header: Declared in d3dtypes.h.