estructura D3D12_CONSTANT_BUFFER_VIEW_DESC (d3d12.h)

Describe un búfer de constantes que se va a ver.

Sintaxis

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

Miembros

BufferLocation

El D3D12_GPU_VIRTUAL_ADDRESS del búfer de constantes. D3D12_GPU_VIRTUAL_ADDRESS es un alias typedef'd de UINT64.

SizeInBytes

Tamaño en bytes del búfer de constantes.

Comentarios

CreateConstantBufferView usa esta estructura.

Requisitos

Requisito Valor
Header d3d12.h

Consulte también

Estructuras principales