> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# D3D12_FILL_MODE

> Specifies the fill mode to use when rendering triangles.

Specifies the fill mode to use when rendering triangles.

## Syntax

```cpp theme={null}
typedef enum D3D12_FILL_MODE
{
    D3D12_FILL_MODE_WIREFRAME = 2,
    D3D12_FILL_MODE_SOLID = 3
} D3D12_FILL_MODE
```

## Constants

| Constant                     | Description                                                                 |
| ---------------------------- | --------------------------------------------------------------------------- |
| D3D12\_FILL\_MODE\_WIREFRAME | Draw lines connecting the vertices. Adjacent vertices are not drawn.        |
| D3D12\_FILL\_MODE\_SOLID     | Fill the triangles formed by the vertices. Adjacent vertices are not drawn. |

## Remarks

Fill mode is specified in a [D3D12\_RASTERIZER\_DESC](/reference/graphics/d3d12/structs/d3d12_rasterizer_desc_public) structure.

## Requirements

**Header:** d3d12\_xs.h or d3d12\_x.h\
**Library:** d3d12\_xs.lib or d3d12\_x.lib\
**Supported Platforms**: XBOX Series consoles and XBOX One family

## See Also

[CD3DX12\_RASTERIZER\_DESC](https://learn.microsoft.com/en-us/windows/desktop/direct3d12/cd3dx12-rasterizer-desc)

[Core Enumerations](https://learn.microsoft.com/en-us/windows/desktop/direct3d12/direct3d-12-enumerations)


## Related topics

- [D3D12_WRITEBUFFERIMMEDIATE_MODE](/reference/graphics/d3d12/enums/d3d12_writebufferimmediate_mode_public.md)
- [D3D12_CULL_MODE](/reference/graphics/d3d12/enums/d3d12_cull_mode_public.md)
- [D3D12_RESOLVE_MODE](/reference/graphics/d3d12/enums/d3d12_resolve_mode_public.md)
- [D3D12_PLACED_SUBRESOURCE_FOOTPRINT](/reference/graphics/d3d12/structs/d3d12_placed_subresource_footprint_public.md)
- [D3D12_CONSERVATIVE_RASTERIZATION_MODE](/reference/graphics/d3d12/enums/d3d12_conservative_rasterization_mode_public.md)
