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

# XBTCArchiveReader::GetBaseTextureSize

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

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

## 語法

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

### 參數

`ResourceIdx`\
類型: uint32\_t

紋理的以零為起始索引。

### 傳回值

類型: int32\_t

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

## 需求

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

## 另請參閱

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


## Related topics

- [NDA topic directory - live Microsoft Learn links](/nda/nda-topic-directory.md)
- [NDA 主題目錄 - Microsoft Learn 線上連結](/zh-TW/nda/nda-topic-directory.md)
- [NDA 主题目录 - Microsoft Learn 在线链接](/zh-CN/nda/nda-topic-directory.md)
- [NDA トピック ディレクトリ - Microsoft Learn 公開版へのリンク](/ja-jp/nda/nda-topic-directory.md)
- [Diretório de tópicos NDA: links ativos do Microsoft Learn](/pt-BR/nda/nda-topic-directory.md)
