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

# XBTC_TEXTURE_INFO

> Informations sur une texture dans une archive.

Informations sur une texture dans une archive.

<a id="syntaxSection" />

## Syntaxe

```cpp theme={null}
typedef struct XBTC_TEXTURE_INFO {  
    uint64_t Format : 8;  
    uint64_t Dimension : 2;  
    uint64_t Width : 14;  
    uint64_t Height : 14;  
    uint64_t Depth : 11;  
    uint64_t TileMode : 3;  
    uint64_t MipCount : 4;  
    uint64_t MipStreams : 4;  
    uint64_t Granularity : 2;  
    uint64_t Reserved : 2;  
} XBTC_TEXTURE_INFO  
```

<a id="membersSection" />

### Membres

*Format*\
Type : uint64\_t

Format de la texture, sous la forme d'une valeur d'énumération [DXGI\_FORMAT](https://learn.microsoft.com/en-us/windows/win32/api/dxgiformat/ne-dxgiformat-dxgi_format).

*Dimension*\
Type : uint64\_t

Dimension de la texture, sous la forme d'une valeur d'énumération [XBTC\_TEX\_DIMENSION](/fr/reference/graphics/xbtc/enums/xbtc_tex_dimension).

*Width*\
Type : uint64\_t

Largeur en pixels, moins 1, du mip 0.

*Height*\
Type : uint64\_t

Hauteur en pixels, moins 1, du mip 0.

*Depth*\
Type : uint64\_t

Profondeur (ou nombre d'éléments du tableau), moins 1.

*TileMode*\
Type : uint64\_t

Mode de mosaïque (tiling) de la texture, sous la forme d'une valeur d'énumération [XBTC\_TILING\_MODE](/fr/reference/graphics/xbtc/enums/xbtc_tiling_mode).

*MipCount*\
Type : uint64\_t

Nombre total de mipmaps de niveau de détail (LOD).

*MipStreams*\
Type : uint64\_t

Nombre de LOD supplémentaires pouvant être diffusés en streaming après le chargement initial.

*Granularity*\
Type : uint64\_t

Une des valeurs de [XBTC\_STREAM\_GRANULARITY](/fr/reference/graphics/xbtc/enums/xbtc_stream_granularity).

*Reserved*\
Type : uint64\_t

Réservé à un usage interne.

<a id="remarksSection" />

## Remarques

Utilisez la méthode [GetTextureInfo](/fr/reference/graphics/xbtc/interfaces/XBTCArchiveReader/methods/xbtcarchivereader_gettextureinfo) d'une instance de [XBTCArchiveReader](/fr/reference/graphics/xbtc/interfaces/XBTCArchiveReader/xbtcarchivereader) pour accéder à cette structure pour une texture spécifiée dans une archive.

Utilisez cette structure pour obtenir des informations sur une texture, telles que le format, la dimension et le nombre de LOD inclus dans la texture. Vous pouvez utiliser la méthode [GetTextureOffset](/fr/reference/graphics/xbtc/interfaces/XBTCArchiveReader/methods/xbtcarchivereader_gettextureoffset) pour déterminer quels flux compressés correspondent à une texture et pour obtenir le décalage de départ, dans l'archive, des données de flux de cette texture. Pour plus d'informations sur le contenu et la structure d'une archive XBTC, consultez [Spécification du format de fichier d'archive XBOX Texture Compressor (XBTC)](https://learn.microsoft.com/en-us/gaming/gdk/_content/gc/graphics/newfeatures/xbtc/xbtc-archive-format).

<a id="requirementsSection" />

## Configuration requise

**En-tête :** XBTC.h

**Plateformes prises en charge** : consoles de la famille XBOX One et consoles XBOX Series

<a id="seealsoSection" />

## Voir aussi

[XBTC\_ARCHIVE\_HEADER](/fr/reference/graphics/xbtc/structs/xbtc_archive_header)\
[XBTC\_OFFSET\_AND\_INDEX](/fr/reference/graphics/xbtc/structs/xbtc_offset_and_index)\
[XBTC\_STREAM\_INFO](/fr/reference/graphics/xbtc/structs/xbtc_stream_info)\
[XBTC](/fr/reference/graphics/xbtc/xbtc_members)


## 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)
- [XBOX Texture Compressor (XBTC) tool reference](/build/core-features/graphics/newfeatures/xbtc/index.md)
