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

> Describes a constant buffer to view.

Describes a constant buffer to view.

## Syntax

```cpp theme={null}
typedef struct D3D12_CONSTANT_BUFFER_VIEW_DESC
{
    D3D12_GPU_VIRTUAL_ADDRESS BufferLocation;
    UINT SizeInBytes;
} D3D12_CONSTANT_BUFFER_VIEW_DESC
```

### Members

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

The D3D12\_GPU\_VIRTUAL\_ADDRESS of the constant buffer.
D3D12\_GPU\_VIRTUAL\_ADDRESS is a typedef'd alias of UINT64.

*SizeInBytes*\
Type: UINT

The size in bytes of the constant buffer.

## Remarks

This structure is used by [CreateConstantBufferView](/reference/graphics/d3d12/interfaces/id3d12device/methods/id3d12device_createconstantbufferview_public).

## Requirements

**Header:** d3d12\_xs.h or d3d12\_x.h\
**Library:** d3d12\_xs.lib or d3d12\_x.lib\
**Supported Platforms**: XBOX Series consoles and XBOX One family

## See Also

[Core Structures](https://learn.microsoft.com/en-us/windows/desktop/direct3d12/direct3d-12-structures)


## Related topics

- [CreateConstantBufferView](/reference/graphics/d3d12/interfaces/id3d12device/methods/id3d12device_createconstantbufferview_public.md)
- [D3D12_COMMAND_SIGNATURE_DESC](/reference/graphics/d3d12/structs/d3d12_command_signature_desc_public.md)
- [D3D12_DESCRIPTOR_HEAP_TYPE](/reference/graphics/d3d12/enums/d3d12_descriptor_heap_type_public.md)
- [D3D12_RENDER_TARGET_VIEW_DESC](/reference/graphics/d3d12/structs/d3d12_render_target_view_desc_public.md)
- [D3D12_DESCRIPTOR_RANGE_TYPE](/reference/graphics/d3d12/enums/d3d12_descriptor_range_type_public.md)
