> ## 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::GetStreamInfo

> XBTCArchiveReader::GetStreamInfo (xbtc) — Obtient des informations sur un flux d'une archive. Référence de l'API graphique Direct3D 12 pour le développement de jeux XBOX.

Obtient des informations sur un flux d'une archive.

<a id="syntaxSection" />

## Syntaxe

```cpp theme={null}
XBTC_STREAM_INFO* GetStreamInfo(  
         uint32_t StreamIdx  
)  
```

<a id="parametersSection" />

### Paramètres

*StreamIdx*   \
Type : uint32\_t

Index de base zéro du flux.

<a id="retvalSection" />

### Valeur de retour

Type : [XBTC\_STREAM\_INFO](/fr/reference/graphics/xbtc/structs/xbtc_stream_info)\*

Structure `XBTC_STREAM_INFO` du flux spécifié, en cas de réussite ; sinon, `nullptr`.

<a id="remarksSection" />

## Remarques

Cette méthode retourne des informations sur un flux, notamment son décalage relatif dans les données de flux d'une texture et ses tailles de données compressée, décompressée (inflated) et non compressée.
Si la valeur de `StreamIdx` est définie sur l'index d'un flux existant, cette méthode retourne une structure [XBTC\_STREAM\_INFO](/fr/reference/graphics/xbtc/structs/xbtc_stream_info) qui contient des informations sur le flux. Si la valeur de `StreamIdx` est définie sur une valeur supérieure ou égale au nombre de flux de l'archive, cette méthode retourne `nullptr`. 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

[XBTCGetTextureInfo](/fr/reference/graphics/xbtc/interfaces/XBTCArchiveReader/methods/xbtcarchivereader_gettextureinfo)\
[XBTCGetTextureOffset](/fr/reference/graphics/xbtc/interfaces/XBTCArchiveReader/methods/xbtcarchivereader_gettextureoffset)\
[XBTCArchiveReader](/fr/reference/graphics/xbtc/interfaces/XBTCArchiveReader/xbtcarchivereader)\
[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)
- [Diretório de tópicos NDA: links ativos do Microsoft Learn](/pt-BR/nda/nda-topic-directory.md)
