ID3D12CommandList::SetIndexBufferSingleUse method

[This documentation is preliminary and is subject to change.]

Sets a single-use index-buffer-view.

Syntax


void SetIndexBufferSingleUse(
  [in, optional]  ID3D12Resource *pBuffer,
  [in]            const D3D12_INDEX_BUFFER_VIEW_DESC *pDesc
);

Parameters

pBuffer [in, optional]

Type: ID3D12Resource*

A pointer to the ID3D12Resource interface that represents the index buffer to set.

pDesc [in]

Type: const D3D12_INDEX_BUFFER_VIEW_DESC*

A pointer to a D3D12_INDEX_BUFFER_VIEW_DESC structure that describes the index-buffer-view to set.

Return value

Returns nothing.

Requirements

Header

D3D12.h

Library

D3D12.lib

DLL

D3D12.dll

See also

ID3D12CommandList

 

 

Show: