D3D12_CONSTANT_BUFFER_VIEW_DESC structure

Describes a constant buffer to view.

Syntax

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

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

   
Header d3d12.h

See Also

Core Structures