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

# D3D12_STREAM_OUTPUT_BUFFER_VIEW

> ストリーム出力バッファーを記述します。

ストリーム出力バッファーを記述します。

## 構文

```cpp theme={null}
typedef struct D3D12_STREAM_OUTPUT_BUFFER_VIEW
{
    D3D12_GPU_VIRTUAL_ADDRESS BufferLocation;
    UINT64 SizeInBytes;
    D3D12_GPU_VIRTUAL_ADDRESS BufferFilledSizeLocation;
} D3D12_STREAM_OUTPUT_BUFFER_VIEW
```

### メンバー

*BufferLocation*\
型: D3D12\_GPU\_VIRTUAL\_ADDRESS

ストリーム出力バッファーを指す D3D12\_GPU\_VIRTUAL\_ADDRESS (UINT64)。
**SizeInBytes** が 0 の場合、このメンバーは使用されず、任意の値を指定できます。

*SizeInBytes*\
型: UINT64

ストリーム出力バッファーのサイズ (バイト単位)。

*BufferFilledSizeLocation*\
型: D3D12\_GPU\_VIRTUAL\_ADDRESS

D3D12\_GPU\_VIRTUAL\_ADDRESS (UINT64) として、バッファーに格納されたデータ量を示す値の場所。
このメンバーを NULL にすることはできません。埋め込みサイズの場所は必ず指定する必要があります (データが出力されるたびにハードウェアがインクリメントします)。
**SizeInBytes** が 0 の場合、このメンバーは使用されず、任意の値を指定できます。

## 解説

この構造体は [SOSetTargets](/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist/methods/id3d12graphicscommandlist_sosettargets_public) と共に使用します。

## 要件

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

## 関連項目

[コア構造体](https://learn.microsoft.com/en-us/windows/desktop/direct3d12/direct3d-12-structures)


## Related topics

- [SOSetTargets](/ja-jp/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist/methods/id3d12graphicscommandlist_sosettargets_public.md)
- [D3D12_STREAM_OUTPUT_DESC](/ja-jp/reference/graphics/d3d12/structs/d3d12_stream_output_desc_public.md)
- [D3D12_VERTEX_BUFFER_VIEW](/ja-jp/reference/graphics/d3d12/structs/d3d12_vertex_buffer_view_public.md)
- [D3D12_INDEX_BUFFER_VIEW](/ja-jp/reference/graphics/d3d12/structs/d3d12_index_buffer_view_public.md)
- [D3D12_CONSTANT_BUFFER_VIEW_DESC](/ja-jp/reference/graphics/d3d12/structs/d3d12_constant_buffer_view_desc_public.md)
