Description of the command list, including Xbox-specific extensions.
typedef struct D3D12XBOX_COMMAND_LIST_DESC {
D3D12_COMMAND_LIST_TYPE Type;
D3D12XBOX_COMMAND_LIST_FLAGS Flags;
UINT NodeMask;
UINT ResourceBarrierBatchSize;
} D3D12XBOX_COMMAND_LIST_DESC;
Type
A D3D12_COMMAND_LIST_TYPE-typed value that specifies the type of command list to create.
Flags
Flags for the command list, such as none or disable automatic kickoffs, as a D3D12XBOX_COMMAND_LIST_FLAGS enumeration constant.
NodeMask
For single GPU operation, set this to zero.
ResourceBarrierBatchSize
Size to use in batching D3D12_RESOURCE_BARRIERs in individual ResourceBarrier calls to the created command list. If more barriers are specified in a call than the batch size, the benefits from grouping degrade performance in a manner analogous to multiple ResourceBarrier calls (with an equivalent count of NumBarriers / ResourceBarrierBatchSize + 1 calls). A large batch size will reduce or eliminate redundant synchronization operations generated by a ResourceBarrier at the expense of additional memory allocated for the command list. A size of 0 will select a default batch size of 1024 for graphics command lists and 512 for compute command lists.
This structure is used by ID3D12Device::CreateCommandListX.
Header: Declared in d3d12_x.h.