> ## 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_FEATURE_DATA_MULTISAMPLE_QUALITY_LEVELS

> Describes the multi-sampling image quality levels for a given format and sample count.

Describes the multi-sampling image quality levels for a given format and sample count.

## Syntax

```cpp theme={null}
typedef struct D3D12_FEATURE_DATA_MULTISAMPLE_QUALITY_LEVELS
{
    DXGI_FORMAT Format;
    UINT SampleCount;
    D3D12_MULTISAMPLE_QUALITY_LEVELS_FLAG Flags;
    UINT NumQualityLevels;
} D3D12_FEATURE_DATA_MULTISAMPLE_QUALITY_LEVELS
```

### Members

*Format*\
Type: DXGI\_FORMAT

A [DXGI\_FORMAT](https://learn.microsoft.com/en-us/windows/desktop/api/dxgiformat/ne-dxgiformat-dxgi_format)-typed value for the format to return info about.

*SampleCount*\
Type: UINT

The number of multi-samples per pixel to return info about.

*Flags*\
Type: D3D12\_MULTISAMPLE\_QUALITY\_LEVELS\_FLAG

Flags to control quality levels, as a bitwise-OR'd combination of [D3D12\_MULTISAMPLE\_QUALITY\_LEVEL\_FLAGS](https://learn.microsoft.com/en-us/windows/win32/api/d3d12/ne-d3d12-d3d12_multisample_quality_level_flags)  enumeration constants.
The resulting value specifies options for determining quality levels.

*NumQualityLevels*\
Type: UINT

The number of quality levels.

## Remarks

See [D3D12\_FEATURE](/reference/graphics/d3d12/enums/d3d12_feature_public).

## 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

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

[D3D12\_FEATURE](/reference/graphics/d3d12/enums/d3d12_feature_public)


## Related topics

- [D3D12_FEATURE](/reference/graphics/d3d12/enums/d3d12_feature_public.md)
- [D3D12_STANDARD_MULTISAMPLE_QUALITY_LEVELS](/reference/graphics/d3d12_xs/enums/d3d12_standard_multisample_quality_levels.md)
- [D3D12_FEATURE_DATA_FEATURE_LEVELS](/reference/graphics/d3d12/structs/d3d12_feature_data_feature_levels_public.md)
- [D3D12_FEATURE_DATA_D3D12_OPTIONS](/reference/graphics/d3d12/structs/d3d12_feature_data_d3d12_options_public.md)
- [D3D12_FEATURE_DATA_D3D12_OPTIONS1](/reference/graphics/d3d12/structs/d3d12_feature_data_d3d12_options1_public.md)
