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

# SetOcclusionQueryControlX (famille XBOX One)

> Configure les compteurs utilisés dans une requête d'occlusion.

Configure les compteurs utilisés dans une requête d'occlusion.

## Syntaxe

```cpp theme={null}
void SetOcclusionQueryControlX(  
         const D3D12XBOX_OCCLUSION_QUERY_CONTROL* pControl  
)  
```

### Paramètres

*pControl*   \_In\_opt\_\
Type : [D3D12XBOX\_OCCLUSION\_QUERY\_CONTROL\*](/fr-CA/reference/graphics/d3d12_x/structs/d3d12xbox_occlusion_query_control)

Pointeur vers une structure **D3D12XBOX\_OCCLUSION\_QUERY\_CONTROL** qui contient un ensemble de paramètres de configuration. Pour appliquer la configuration par défaut, spécifiez NULL.

### Valeur de retour

Type : void

## Configuration requise

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

**Bibliothèque :** d3d12\_x.lib

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

## Voir aussi

[ID3D12GraphicsCommandList](/fr-CA/reference/graphics/d3d12_x/interfaces/id3d12graphicscommandlist/id3d12graphicscommandlist)\
[SetPerfectOcclusionQueriesX](/fr-CA/reference/graphics/d3d12_x/interfaces/id3d12graphicscommandlist/methods/id3d12graphicscommandlist_setperfectocclusionqueriesx)


## Related topics

- [Répertoire des rubriques NDA : liens actifs vers Microsoft Learn](/fr-CA/nda/nda-topic-directory.md)
- [XNetworkingQueryConfigurationSetting](/fr-CA/reference/networking/xnetworking/functions/xnetworkingqueryconfigurationsetting.md)
- [EndQuery](/fr-CA/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist/methods/id3d12graphicscommandlist_endquery_public.md)
- [BeginQuery](/fr-CA/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist/methods/id3d12graphicscommandlist_beginquery_public.md)
- [XMemVirtualQuery](/fr-CA/reference/system/xmem/functions/xmemvirtualquery.md)
