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

# XBTCGetRelativeStreamIndex(unit32_t,uint32_t)

> Obtém o índice de um fluxo de uma textura com streaming de mip com base no nível de mip.

Obtém o índice de um fluxo de uma textura com streaming de mip com base no nível de mip.

## Sintaxe

```cpp theme={null}
int32_t XBTCGetRelativeStreamIndex(  
         uint32_t MipStreams,  
         uint32_t MipLevel  
)  
```

### Parâmetros

*MipStreams*   \
Tipo: uint32\_t

Número de níveis de detalhe (LODs) transmissíveis após a textura base.

*MipLevel*   \
Tipo: uint32\_t

Nível de resolução de mip.

### Valor retornado

Tipo: int32\_t

Código de êxito ou de erro HRESULT.

## Comentários

`XBTCGetRelativeStreamIndex` retorna o índice de fluxo de mip relativo associado ao recurso.\
Para texturas com streaming de mip, a textura base é compactada primeiro e cada nível de mip de maior resolução é compactado depois.\
Esse método pressupõe que a textura tem a dimensão `kTexture2D`.

Para obter mais informações sobre texturas paginadas (SFS), confira [XBTCGetRelativeStreamIndex](/pt-BR/reference/graphics/xbtc/functions/xbtcgetrelativestreamindex).
Para obter mais informações sobre arquivos mortos XBTC, confira [XBOX Texture Compressor (XBTC)](https://learn.microsoft.com/en-us/gaming/gdk/_content/gc/graphics/newfeatures/xbtc/xbox-texture-compressor).

## Requisitos

**Cabeçalho:** XBTC.h

**Plataformas com suporte**: consoles da família XBOX One e consoles XBOX Series

## Confira também

[XBTC](/pt-BR/reference/graphics/xbtc/xbtc_members)


## Related topics

- [Diretório de tópicos NDA: links ativos do Microsoft Learn](/pt-BR/nda/nda-topic-directory.md)
- [Método ILampInfo::GetIndex](/pt-BR/reference/lighting/lamparray/interfaces/ilampinfo/methods/ilampinfo_getindex.md)
- [GetExtraAxisIndexes](/pt-BR/reference/input/gameinput/interfaces/igameinputdevice/methods/igameinputdevice_getextraaxisindexes.md)
- [GetExtraButtonIndexes](/pt-BR/reference/input/gameinput/interfaces/igameinputdevice/methods/igameinputdevice_getextrabuttonindexes.md)
- [IGameInputForceFeedbackEffect::GetMotorIndex](/pt-BR/reference/input/gameinput/interfaces/igameinputforcefeedbackeffect/methods/igameinputforcefeedbackeffect_getmotorindex.md)
