Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
Requirement | Value |
---|---|
Header | d3d12.h |