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

# XGTextureAddressComputer::GetMipLevelOffsetBytes

> 計算指定平面上指定 mip 層級相對於資源基底位址的位移 (以位元組為單位)。

計算指定平面上指定 mip 層級相對於資源基底位址的位移 (以位元組為單位)。

<a id="syntaxSection" />

## 語法

```cpp theme={null}
UINT64 GetMipLevelOffsetBytes(
         UINT32 Plane,
         UINT32 MipLevel
)  
```

<a id="ID4EU" />

### 參數

*Plane*   \_In\_\
類型：UINT32

平面。

*MipLevel*   \_In\_\
類型：UINT32

mip 層級。

<a id="ID4E4" />

### 傳回值

類型：UINT64

指定平面上指定 mip 層級的位移 (以位元組為單位)。

<a id="requirements" />

## 需求

**標頭：** xg.h

**程式庫：** xg\_x.lib

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

<a id="ID4ETB" />

## 另請參閱

[XGTextureAddressComputer](/zh-TW/reference/graphics/xg__NR/interfaces/XGTextureAddressComputer/xgtextureaddresscomputer)\
[XG 參考](/zh-TW/reference/graphics/xg__NR/xg_members)


## Related topics

- [NDA 主题目录 - Microsoft Learn 在线链接](/zh-CN/nda/nda-topic-directory.md)
- [Répertoire des rubriques NDA : liens actifs vers Microsoft Learn](/fr-CA/nda/nda-topic-directory.md)
- [Directorio de temas NDA: enlaces activos a Microsoft Learn](/es/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 線上連結](/zh-TW/nda/nda-topic-directory.md)
