> ## Documentation Index
> Fetch the complete documentation index at: https://docs.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](https://docs.xbox.com/reference/graphics/d3d12/interfaces/id3d12device/methods/id3d12device_createconstantbufferview_public.md).

## 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](https://docs.xbox.com/reference/graphics/d3d12/interfaces/id3d12device/methods/id3d12device_createconstantbufferview_public.md)
- [D3D12_COMMAND_SIGNATURE_DESC](https://docs.xbox.com/reference/graphics/d3d12/structs/d3d12_command_signature_desc_public.md)
- [D3D12_RENDER_TARGET_VIEW_DESC](https://docs.xbox.com/reference/graphics/d3d12/structs/d3d12_render_target_view_desc_public.md)
- [D3D12_SHADER_RESOURCE_VIEW_DESC](https://docs.xbox.com/reference/graphics/d3d12/structs/d3d12_shader_resource_view_desc_public.md)
- [D3D12_BUFFER_SRV](https://docs.xbox.com/reference/graphics/d3d12/structs/d3d12_buffer_srv_public.md)
