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

# SetDeferredPrimitiveBatchBinningX (consoles XBOX Series)

> Définit l'état du DPBB (Deferred Primitive Batch Binning).

Définit l'état du DPBB (Deferred Primitive Batch Binning).

## Syntaxe

```cpp theme={null}
void SetDeferredPrimitiveBatchBinningX(  
         const D3D12XBOX_DPBB_STATE* pBinningState  
)  
```

### Paramètres

*pBinningState*   \_In\_opt\_\
Type : [D3D12XBOX\_DPBB\_STATE\*](/fr-CA/reference/graphics/d3d12_xs/structs/d3d12xbox_dpbb_state)

Pointeur vers l'état DPBB à définir.

### Valeur de retour

Type : void

Aucune valeur de retour.

## Remarques

L'état DPBB est réinitialisé aux valeurs par défaut lors de la réinitialisation de la liste de commandes.

Exemple d'utilisation de l'API :

```cpp theme={null}
// Set DPBB State
D3D12XBOX_DPBB_STATE dpbb = {};
dpbb.Flags = D3D12XBOX_BINNING_FLAG_NONE;
dpbb.BinningMode = D3D12XBOX_BINNING_MODE_FORCE_BINNING_ON;
dpbb.BinSizeX = D3D12XBOX_BIN_SIZE_32_PIXELS;
dpbb.BinSizeY = D3D12XBOX_BIN_SIZE_32_PIXELS;
dpbb.ContextStatesPerBin = 1;
dpbb.PersistentStatesPerBin = 1;
dpbb.DisableStartOfPrimitive = FALSE;
dpbb.FPOVTokensPerBatch = 0;
dpbb.OptimalBinSelection = FALSE;
dpbb.FlushOnBinningTransition = TRUE;
dpbb.MappingMode = D3D12XBOX_BIN_MAPPING_MODE_NONE;
dpbb.FSRExpansionEnable = FALSE;
dpbb.MaxParameterAllocPerBatch = 16;
dpbb.MaxPrimitivesPerBatch = 32;

m_DPBB_On = ((dpbb.BinningMode == D3D12XBOX_BINNING_MODE_FORCE_BINNING_ON) || (dpbb.BinningMode == D3D12XBOX_BINNING_MODE_BINNING_ALLOWED));

pCmdList->SetDeferredPrimitiveBatchBinningX(&dpbb);
```

## Configuration requise

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

**Bibliothèque :** d3d12\_xs.lib\
**Plateformes prises en charge** : consoles XBOX Series

## Voir aussi

[ID3D12GraphicsCommandList](/fr-CA/reference/graphics/d3d12_xs/interfaces/ID3D12GraphicsCommandList/id3d12graphicscommandlist_xs)


## Related topics

- [Diretório de tópicos NDA: links ativos do Microsoft Learn](/pt-BR/nda/nda-topic-directory.md)
- [Répertoire des rubriques NDA : liens actifs vers Microsoft Learn](/fr-CA/nda/nda-topic-directory.md)
- [IASetPrimitiveTopology](/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist/methods/id3d12graphicscommandlist_iasetprimitivetopology_public.md)
- [NDA topic directory - live Microsoft Learn links](/nda/nda-topic-directory.md)
- [RSSetShadingRateImage (XBOX Series consoles)](/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist5/methods/id3d12graphicscommandlist5_rssetshadingrateimage_public.md)
