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

> Obtém o tamanho do recurso, em bytes.

Obtém o tamanho do recurso, em bytes.

<a id="syntaxSection" />

## Sintaxe

```cpp theme={null}
UINT64 GetResourceSizeBytes(  
)  
```

<a id="ID4EP" />

### Valor retornado

Tipo: UINT64

O tamanho do recurso, em bytes.

<a id="remarks" />

## Comentários

Chamar este método auxiliar é equivalente a chamar [XGTextureAddressComputer::GetResourceLayout](/pt-BR/reference/graphics/xg__NR/interfaces/XGTextureAddressComputer/methods/xgtextureaddresscomputer_getresourcelayout) e obter o parâmetro *SizeBytes* desse layout.

<a id="requirements" />

## Requisitos

**Cabeçalho:** xg.h

**Biblioteca:** xg\_x.lib

**Plataformas com suporte:** família XBOX One

<a id="ID4EGB" />

## Confira também

[XGTextureAddressComputer](/pt-BR/reference/graphics/xg__NR/interfaces/XGTextureAddressComputer/xgtextureaddresscomputer)\
[Referência do XG](/pt-BR/reference/graphics/xg__NR/xg_members)


## Related topics

- [Diretório de tópicos NDA: links ativos do Microsoft Learn](/pt-BR/nda/nda-topic-directory.md)
- [GetCopyableFootprints](/pt-BR/reference/graphics/d3d12/interfaces/id3d12device/methods/id3d12device_getcopyablefootprints_public.md)
- [GetRequiredParameterResourceSize](/pt-BR/reference/graphics/d3d12/interfaces/id3d12metacommand/methods/id3d12metacommand_getrequiredparameterresourcesize_public.md)
- [XGameStreamingGetClientIPAddress](/pt-BR/reference/system/xgamestreaming/functions/xgamestreaminggetclientipaddress.md)
- [GetResourceAllocationInfo](/pt-BR/reference/graphics/d3d12/interfaces/id3d12device/methods/id3d12device_getresourceallocationinfo_public.md)
