D3D12_INDEX_BUFFER_VIEW structure

Describes the index buffer to view.

Syntax

typedef struct D3D12_INDEX_BUFFER_VIEW {
  D3D12_GPU_VIRTUAL_ADDRESS BufferLocation;
  UINT                      SizeInBytes;
  DXGI_FORMAT               Format;
} D3D12_INDEX_BUFFER_VIEW;

Members

BufferLocation

The GPU virtual address of the index buffer.
D3D12_GPU_VIRTUAL_ADDRESS is a typedef'd synonym of UINT64.

SizeInBytes

The size in bytes of the index buffer.

Format

A DXGI_FORMAT-typed value for the index-buffer format.

Remarks

This structure is passed into ID3D12GraphicsCommandList::IASetIndexBuffer.

Requirements

   
Header d3d12.h

See Also

Core Structures