> ## 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::AddRef (família XBOX One)

> Incrementa a contagem de referências e retorna o novo valor.

Incrementa a contagem de referências e retorna o novo valor.

<a id="syntaxSection" />

## Sintaxe

```cpp theme={null}
public:
ULONG AddRef()  
```

<a id="ID4E4" />

### Valor retornado

Tipo: ULONG

A nova contagem de referências.

<a id="requirements" />

## Requisitos

**Cabeçalho:** xg.h

**Biblioteca:** xg\_x.lib

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

<a id="ID4EJB" />

## 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)
- [GetGPUVirtualAddress](/pt-BR/reference/graphics/d3d12/interfaces/id3d12resource/methods/id3d12resource_getgpuvirtualaddress_public.md)
- [ApuIsVirtualAddressValid](/pt-BR/reference/audio/apu/functions/apuisvirtualaddressvalid.md)
- [ApuMapApuAddress](/pt-BR/reference/audio/apu/functions/apumapapuaddress.md)
- [ApuMapVirtualAddress](/pt-BR/reference/audio/apu/functions/apumapvirtualaddress.md)
