D3D11_FILL_MODE Enumeration

Determines the fill mode to use when rendering triangles.

Syntax

typedef enum D3D11_FILL_MODE
{
    D3D11_FILL_WIREFRAME = 2,
    D3D11_FILL_SOLID = 3
} D3D11_FILL_MODE;  

Constants

Constant Description
D3D11_FILL_WIREFRAME Draw lines connecting the vertices. Adjacent vertices are not drawn.
D3D11_FILL_SOLID Fill the triangles formed by the vertices. Adjacent vertices are not drawn.

Remarks

This enumeration is part of a rasterizer-state object description (see D3D11_RASTERIZER_DESC).

Requirements

Header: Declared in d3d11_x.h (d3d11.h on other Windows platforms).