ID3D12GraphicsCommandList::IASetPrimitiveTopology method (d3d12.h)

Bind information about the primitive type, and data order that describes input data for the input assembler stage.

Syntax

void IASetPrimitiveTopology(
  [in] D3D12_PRIMITIVE_TOPOLOGY PrimitiveTopology
);

Parameters

[in] PrimitiveTopology

Type: D3D12_PRIMITIVE_TOPOLOGY

The type of primitive and ordering of the primitive data (see D3D_PRIMITIVE_TOPOLOGY).

Return value

None

Requirements

Requirement Value
Target Platform Windows
Header d3d12.h
Library D3d12.lib
DLL D3d12.dll

See also

D3D12_PRIMITIVE_TOPOLOGY_TYPE

ID3D12GraphicsCommandList