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

# D3D12XBOX_MSAA_SAMPLE_LOCATIONS (XBOX One 系列)

> 描述多重取樣消除鋸齒的樣本位置。

描述多重取樣消除鋸齒的樣本位置。

## 語法

```cpp theme={null}
typedef struct D3D12XBOX_MSAA_SAMPLE_LOCATIONS
{
    INT8  TopLeft[16][2];
    INT8  TopRight[16][2];
    INT8  BottomLeft[16][2];
    INT8  BottomRight[16][2];
} D3D12XBOX_MSAA_SAMPLE_LOCATIONS
```

### 成員

*TopLeft*\
類型：INT8\[16]\[2]

四邊形中左上方像素的樣本位置。

*TopRight*\
類型：INT8\[16]\[2]

四邊形中右上方像素的樣本位置。

*BottomLeft*\
類型：INT8\[16]\[2]

四邊形中左下方像素的樣本位置。

*BottomRight*\
類型：INT8\[16]\[2]

四邊形中右下方像素的樣本位置。

## 備註

樣本位置以每個元件一個位元組的方式儲存，先 X 後 Y。每個像素最多有 16 個可能的樣本位置，而且可以為 2x2 四邊形中的每個像素設定不同的位置。

## 需求

**標頭：** d3d12\_x.h

**支援的平台：** XBOX One 系列

## 另請參閱

[d3d12\_x](/zh-TW/reference/graphics/d3d12_x/d3d12_x_members)


## Related topics

- [NDA 主題目錄 - Microsoft Learn 線上連結](/zh-TW/nda/nda-topic-directory.md)
- [D3D12_VIEW_INSTANCE_LOCATION](/zh-TW/reference/graphics/d3d12/structs/d3d12_view_instance_location_public.md)
- [D3D12_TEXTURE_COPY_LOCATION](/zh-TW/reference/graphics/d3d12/structs/d3d12_texture_copy_location_public.md)
- [D3D12_SAMPLE_POSITION](/zh-TW/reference/graphics/d3d12/structs/d3d12_sample_position_public.md)
- [D3D12_PROGRAMMABLE_SAMPLE_POSITIONS_TIER](/zh-TW/reference/graphics/d3d12/enums/d3d12_programmable_sample_positions_tier_public.md)
