ID3D12CommandList::GetType method (d3d12.h)

Gets the type of the command list, such as direct, bundle, compute, or copy.

Syntax

D3D12_COMMAND_LIST_TYPE GetType();

Return value

Type: D3D12_COMMAND_LIST_TYPE

This method returns the type of the command list, as a D3D12_COMMAND_LIST_TYPE enumeration constant, such as direct, bundle, compute, or copy.

Requirements

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

See also

ID3D12CommandList