D3D12_CONSTANT_BUFFER_VIEW_DESC structure (d3d12.h)

Describes a constant buffer to view.

Syntax

typedef struct D3D12_CONSTANT_BUFFER_VIEW_DESC {
  D3D12_GPU_VIRTUAL_ADDRESS BufferLocation;
  UINT                      SizeInBytes;
} D3D12_CONSTANT_BUFFER_VIEW_DESC;

Members

BufferLocation

The D3D12_GPU_VIRTUAL_ADDRESS of the constant buffer. D3D12_GPU_VIRTUAL_ADDRESS is a typedef'd alias of UINT64.

SizeInBytes

The size in bytes of the constant buffer.

Remarks

This structure is used by CreateConstantBufferView.

Requirements

Requirement Value
Header d3d12.h

See also

Core Structures