struttura D3D12_CONSTANT_BUFFER_VIEW_DESC (d3d12.h)

Descrive un buffer costante da visualizzare.

Sintassi

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

Members

BufferLocation

D3D12_GPU_VIRTUAL_ADDRESS del buffer costante. D3D12_GPU_VIRTUAL_ADDRESS è un alias typedef di UINT64.

SizeInBytes

Dimensione in byte del buffer costante.

Commenti

Questa struttura viene usata da CreateConstantBufferView.

Requisiti

Requisito Valore
Intestazione d3d12.h

Vedi anche

Strutture principali