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

# CreateConstantBufferView

> リソース データにアクセスするための定数バッファー ビューを作成します。

リソース データにアクセスするための定数バッファー ビューを作成します。

## 構文

```cpp theme={null}
void CreateConstantBufferView(
    const D3D12_CONSTANT_BUFFER_VIEW_DESC  pDesc,
    D3D12_CPU_DESCRIPTOR_HANDLE DestDescriptor
)
```

### パラメーター

*pDesc \[in, optional]*\
型: const D3D12\_CONSTANT\_BUFFER\_VIEW\_DESC \*

定数バッファー ビューを記述する [D3D12\_CONSTANT\_BUFFER\_VIEW\_DESC](/reference/graphics/d3d12/structs/d3d12_constant_buffer_view_desc_public) 構造体へのポインター。

*DestDescriptor \[in]*\
型: D3D12\_CPU\_DESCRIPTOR\_HANDLE

定数バッファー ビューを保持するヒープの先頭を表す CPU デスクリプター ハンドルを記述します。

### 戻り値

型: void

なし。

## 要件

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

## 関連項目

[ID3D12Device](/reference/graphics/d3d12_x/interfaces/id3d12device/id3d12device)


## Related topics

- [D3D12_CONSTANT_BUFFER_VIEW_DESC](/ja-jp/reference/graphics/d3d12/structs/d3d12_constant_buffer_view_desc_public.md)
- [D3D12_CPU_DESCRIPTOR_HANDLE](/ja-jp/reference/graphics/d3d12/structs/d3d12_cpu_descriptor_handle_public.md)
- [SetComputeRootConstantBufferView](/ja-jp/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist/methods/id3d12graphicscommandlist_setcomputerootconstantbufferview_public.md)
- [SetGraphicsRootConstantBufferView](/ja-jp/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist/methods/id3d12graphicscommandlist_setgraphicsrootconstantbufferview_public.md)
- [CreateRenderTargetView](/ja-jp/reference/graphics/d3d12/interfaces/id3d12device/methods/id3d12device_createrendertargetview_public.md)
