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

> ストリーム出力バッファー ビューを設定します。

ストリーム出力バッファー ビューを設定します。

## 構文

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

### パラメーター

*StartSlot \[in]*\
型: UINT

ストリーム出力バッファーの設定を開始する、デバイスのゼロベース配列へのインデックス。

*NumViews \[in]*\
型: UINT

<i>pViews</i> 配列内のエントリ数。

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

[D3D12\_STREAM\_OUTPUT\_BUFFER\_VIEW](/reference/graphics/d3d12/structs/d3d12_stream_output_buffer_view_public) 構造体の配列を指定します。

### 戻り値

型: void

なし。

## 要件

**ヘッダー:** d3d12\_xs.h または d3d12\_x.h\
**ライブラリ:** d3d12\_xs.lib または d3d12\_x.lib\
**サポートされるプラットフォーム**: XBOX Series 本体および XBOX One ファミリ

## 関連項目

[ID3D12GraphicsCommandList](/reference/graphics/d3d12_xs/interfaces/ID3D12GraphicsCommandList/id3d12graphicscommandlist_xs)


## Related topics

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