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

# GetSubresourcePitch

> Obtém o pitch de linha do sub-recurso.

Obtém o pitch de linha do sub-recurso.

<a id="syntaxSection" />

## Sintaxe

```cpp theme={null}
size_t GetSubresourcePitch(  
         size_t MipLevel  
)  
```

<a id="parametersSection" />

### Parâmetros

*MipLevel*   \
Tipo: size\_t

O nível de mip do sub-recurso.

<a id="retvalSection" />

### Valor retornado

Tipo: size\_t

Retorna o pitch de linha do sub-recurso.  O valor retornado será o mesmo para cada fatia da matriz.

<a id="remarksSection" />

## Comentários

`XBTCTextureContainer_GetSubresourcePitch` obtém o pitch de linha do sub-recurso.
Para obter mais informações sobre como obter a memória do sub-recurso, confira [XBTCTextureContainer\_GetSubresourceMemory](/pt-BR/reference/graphics/xbtc/interfaces/XBTCTextureContainer/methods/xbtctexturecontainer_getsubresourcememory).
Para obter mais informações sobre como obter o tamanho do sub-recurso, confira [XBTCTextureContainer\_GetSubresourceSize](/pt-BR/reference/graphics/xbtc/interfaces/XBTCTextureContainer/methods/xbtctexturecontainer_getsubresourcesize).

<a id="requirementsSection" />

## Requisitos

**Cabeçalho:** XBTC.h

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

## Confira também

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


## Related topics

- [D3D12_SUBRESOURCE_INFO](/pt-BR/reference/graphics/d3d12/structs/d3d12_subresource_info_public.md)
- [D3D12_SUBRESOURCE_DATA](/pt-BR/reference/graphics/d3d12/structs/d3d12_subresource_data_public.md)
- [D3D12_SUBRESOURCE_FOOTPRINT](/pt-BR/reference/graphics/d3d12/structs/d3d12_subresource_footprint_public.md)
- [ReadFromSubresource](/pt-BR/reference/graphics/d3d12/interfaces/id3d12resource/methods/id3d12resource_readfromsubresource_public.md)
- [D3D12_PLACED_SUBRESOURCE_FOOTPRINT](/pt-BR/reference/graphics/d3d12/structs/d3d12_placed_subresource_footprint_public.md)
