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

# D3D12XboxGetCachedReadPointer (famille XBOX One)

> Obtient un pointeur de lecture mis en cache pour le handle de descripteur CPU spécifié.

Obtient un pointeur de lecture mis en cache pour le handle de descripteur CPU spécifié.

## Syntaxe

```cpp theme={null}
const void* D3D12XboxGetCachedReadPointer(  
         const D3D12_CPU_DESCRIPTOR_HANDLE& Handle  
)  
```

### Paramètres

*Handle*   \
Type : D3D12\_CPU\_DESCRIPTOR\_HANDLE&

Structure [D3D12\_CPU\_DESCRIPTOR\_HANDLE](https://learn.microsoft.com/en-us/windows/desktop/api/d3d12/ns-d3d12-d3d12_cpu_descriptor_handle) qui contient le handle de descripteur CPU.

### Valeur de retour

Type : const void\*

Pointeur de lecture mis en cache pour le handle de descripteur CPU spécifié.

## Remarques

Le pointeur retourné est mis en cache et pointe vers de la mémoire en lecture seule. Toute écriture dans le pointeur retourné entraînera une violation d'accès.

La vue mise en cache du descripteur est synchronisée avec les écritures combinées (write-combined) dans le segment de mémoire retourné.

## Configuration requise

**En-tête :** d3d12\_x.h

**Bibliothèque :** Utilisez d3d12\_x.h (fonction inline)

**Plateformes prises en charge :** famille XBOX One

## Voir aussi

[d3d12\_x](/fr-CA/reference/graphics/d3d12_x/d3d12_x_members)\
[D3D12\_CPU\_DESCRIPTOR\_HANDLE](https://learn.microsoft.com/en-us/windows/desktop/api/d3d12/ns-d3d12-d3d12_cpu_descriptor_handle)\
[D3D12XboxGetWritePointer](/fr-CA/reference/graphics/d3d12_x/functions/d3d12xboxgetwritepointer)


## Related topics

- [Répertoire des rubriques NDA : liens actifs vers Microsoft Learn](/fr-CA/nda/nda-topic-directory.md)
- [D3D12_CACHED_PIPELINE_STATE](/reference/graphics/d3d12/structs/d3d12_cached_pipeline_state_public.md)
- [D3D12_COMPUTE_PIPELINE_STATE_DESC](/reference/graphics/d3d12/structs/d3d12_compute_pipeline_state_desc_public.md)
- [ReadFromSubresource](/reference/graphics/d3d12/interfaces/id3d12resource/methods/id3d12resource_readfromsubresource_public.md)
- [GetShapeDmaReadPointer](/reference/audio/shapedmacontext/functions/getshapedmareadpointer.md)
