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

# SOSetTargets

> Définit les vues de mémoire tampon de sortie de flux.

Définit les vues de mémoire tampon de sortie de flux.

## Syntaxe

```cpp theme={null}
void SOSetTargets(
    UINT StartSlot,
    UINT NumViews,
    const D3D12_STREAM_OUTPUT_BUFFER_VIEW  pViews
)
```

### Paramètres

*StartSlot \[in]*\
Type : UINT

Index dans le tableau de base zéro de l'appareil à partir duquel commencer à définir les mémoires tampons de sortie de flux.

*NumViews \[in]*\
Type : UINT

Le nombre d'entrées dans le tableau <i>pViews</i>.

*pViews \[in, optional]*\
Type : const D3D12\_STREAM\_OUTPUT\_BUFFER\_VIEW \*

Spécifie un tableau de structures [D3D12\_STREAM\_OUTPUT\_BUFFER\_VIEW](/fr-CA/reference/graphics/d3d12/structs/d3d12_stream_output_buffer_view_public).

### Valeur de retour

Type : void

Aucune.

## Configuration requise

**En-tête :** d3d12\_xs.h ou d3d12\_x.h\
**Bibliothèque :** d3d12\_xs.lib ou d3d12\_x.lib\
**Plateformes prises en charge :** consoles XBOX Series et famille XBOX One

## Voir aussi

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


## Related topics

- [D3D12_STREAM_OUTPUT_BUFFER_VIEW](/fr-CA/reference/graphics/d3d12/structs/d3d12_stream_output_buffer_view_public.md)
- [OMSetRenderTargets](/fr-CA/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist/methods/id3d12graphicscommandlist_omsetrendertargets_public.md)
- [SetShapeSrcPitchTarget](/fr-CA/reference/audio/shapesrccontext/functions/setshapesrcpitchtarget.md)
- [SetShapeFiltVolQTarget](/fr-CA/reference/audio/shapefiltvolcontext/functions/setshapefiltvolqtarget.md)
- [SetShapeEqCompGainTarget](/fr-CA/reference/audio/shapeeqcompcontext/functions/setshapeeqcompgaintarget.md)
