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

# XBTCArchive::GetBaseTextureSize

> XBTCArchive::GetBaseTextureSize (xbtc) — 傳回與紋理相關聯之第一個資料流的未壓縮大小。XBOX 的 Direct3D 12 圖形參考。

傳回與紋理相關聯之第一個資料流的未壓縮大小。

## 語法

```cpp theme={null}
int32_t GetBaseTextureSize(
  uint32_t ResourceIdx
)
```

### 參數

`ResourceIdx`\
類型: uint32\_t

紋理的以零為起始索引。

### 傳回值

類型: int32\_t

與紋理相關聯之第一個資料流的未壓縮大小。

## 備註

*GetBaseTextureSize* 適用於可串流的紋理。

## 需求

**標頭:** XBTC.h\
**支援的平台**: XBOX One 系列主機與 XBOX Series 主機

## 另請參閱

[XBTC 成員](/zh-TW/reference/graphics/xbtc/xbtc_members)\
[XBTCArchive](/zh-TW/reference/graphics/xbtc/interfaces/XBTCArchive/xbtcarchive)


## Related topics

- [NDA topic directory - live Microsoft Learn links](/nda/nda-topic-directory.md)
- [Diretório de tópicos NDA: links ativos do Microsoft Learn](/pt-BR/nda/nda-topic-directory.md)
- [NDA トピック ディレクトリ - Microsoft Learn 公開版へのリンク](/ja-jp/nda/nda-topic-directory.md)
- [Répertoire des rubriques NDA : liens actifs vers Microsoft Learn](/fr/nda/nda-topic-directory.md)
- [NDA 主題目錄 - Microsoft Learn 線上連結](/zh-TW/nda/nda-topic-directory.md)
