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

# XBTCArchiveWriter (介面內容)

> 包含將封存寫入檔案的方法。

包含將封存寫入檔案的方法。

## 語法

```cpp theme={null}
class XBTCArchiveWriter : public XBTCArchive  
```

## 方法

| 方法 | 描述 |
| - | - |
| [WriteArchiveToFile](/zh-TW/reference/graphics/xbtc/interfaces/XBTCArchiveWriter/methods/xbtcarchivewriter_writearchivetofile) | 將封存內容儲存至檔案。 |

## 備註

此類別包含將封存寫入檔案的方法。
`XBTCArchive` 類別是 [XBTCArchiveReader](/zh-TW/reference/graphics/xbtc/interfaces/XBTCArchiveReader/xbtcarchivereader) 與 [XBTCArchiveWriter](/zh-TW/reference/graphics/xbtc/interfaces/XBTCArchiveWriter/xbtcarchivewriter) 類別的基底類別。
如需 XBTC 封存內容與結構的詳細資訊，請參閱 [XBOX Texture Compressor (XBTC) 封存檔案規格](https://learn.microsoft.com/en-us/gaming/gdk/_content/gc/graphics/newfeatures/xbtc/xbtc-archive-format)。

## 需求

**標頭:** XBTC.h

**支援的平台**: XBOX One 系列主機與 XBOX Series 主機

## 另請參閱

[XBTC](/zh-TW/reference/graphics/xbtc/xbtc_members)


## Related topics

- [NDA 主題目錄 - Microsoft Learn 線上連結](/zh-TW/nda/nda-topic-directory.md)
- [內容更新最佳做法](/zh-TW/build/core-features/common/packaging/packaging-updates.md)
- [Game Manager 中的 API 存取原則](/zh-TW/services/playfab/live-service-management/gamemanager/api-access-page-doc.md)
- [GameInput 力回饋介面](/zh-TW/build/core-features/common/input/hardware/input-hardware-force-feedback.md)
- [使用 PIX 進行永續性分析](/zh-TW/build/game-principles/sustainability/sustainability-pix-guide.md)
