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.
Get the vertex buffers currently bound on the command list via ID3D12GraphicsCommandList::IASetVertexBuffers.
Syntax
HRESULT GetVertexBuffers(
REFIID riid,
void ** ppVertexBuffers);
Parameters
riid [in]
The interface IID of the collection to be returned. Expected: IPixCollection<IPixVertexBufferView>.
ppVertexBuffers [out]
Pointer to the returned interface.
Returns
Returns failure if not supported (eg. GPU driver doesn't support recording the info in the dxdmp file scenario).
Remarks
Unbound vertex buffer slots will have a view size of 0, should have D3D12_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT entries in the collection.