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

# XG_COPY_MAPPING_FLAGS (XBOX One 系列)

> 用於控制 **XGMemoryLayout::CopyMapping** 的旗標，例如是否要取代 ESRAM 分頁和系統記憶體分頁的對應。

用於控制 **XGMemoryLayout::CopyMapping** 的旗標，例如是否要取代 ESRAM 分頁和系統記憶體分頁的對應。

<a id="syntaxSection" />

## 語法

```cpp theme={null}
enum XG_COPY_MAPPING_FLAGS
{
    XG_COPY_MAPPING_REPLACE_ESRAM_PAGES = 1,
    XG_COPY_MAPPING_REPLACE_SYSTEM_MEMORY_PAGES = 2,  
}  
```

<a id="ID4E2" />

## 常數

| 常數 | 描述 |
| - | - |
| XG\_COPY\_MAPPING\_REPLACE\_ESRAM\_PAGES | 以目的地對應中新配置的系統記憶體分頁，取代來源對應中的 ESRAM 分頁對應。 |
| XG\_COPY\_MAPPING\_REPLACE\_SYSTEM\_MEMORY\_PAGES | 以目的地對應中新配置的系統記憶體分頁，取代來源對應中的 ESRAM 分頁對應。 |

<a id="remarks" />

## 備註

此列舉由 [XGMemoryLayout::CopyMapping](/zh-TW/reference/graphics/xgmemory_NR/interfaces/XGMemoryLayout/methods/xgmemorylayout_copymapping) 的 *Flags* 參數使用。

<a id="requirements" />

## 需求

**標頭:** xgmemory.h

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

## 另請參閱

[xgmemory](/zh-TW/reference/graphics/xgmemory_NR/xgmemory_members)


## Related topics

- [NDA topic directory - live Microsoft Learn links](/nda/nda-topic-directory.md)
- [CopyTileMappings](/zh-CN/reference/graphics/d3d12/interfaces/id3d12commandqueue/methods/id3d12commandqueue_copytilemappings_public.md)
- [D3D12_TILE_MAPPING_FLAGS](/zh-CN/reference/graphics/d3d12/enums/d3d12_tile_mapping_flags_public.md)
- [NDA 主題目錄 - Microsoft Learn 線上連結](/zh-TW/nda/nda-topic-directory.md)
- [Répertoire des rubriques NDA : liens actifs vers Microsoft Learn](/fr-CA/nda/nda-topic-directory.md)
