/// <summary> /// <p>Creates a new graphics command list object.</p> /// </summary> /// <param name="nodeMask"> /// For single GPU operation, set this to zero. /// If there are multiple GPU nodes, set a bit to identify the node (the device's physical adapter) for which to create the command list. /// Each bit in the mask corresponds to a single node. Only 1 bit must be set. /// </param> /// <param name="type">A <see cref="SharpDX.Direct3D12.CommandListType"/> value that specifies the type of command list to create.</param> /// <param name="flags">A <see cref="CommandListFlags"/> flags.</param> /// <returns>A new instance of <see cref="GraphicsCommandList1"/>.</returns> public GraphicsCommandList1 CreateCommandList1(int nodeMask, SharpDX.Direct3D12.CommandListType type, SharpDX.Direct3D12.CommandListFlags flags) { var nativePointer = CreateCommandList1(nodeMask, type, flags, Utilities.GetGuidFromType(typeof(GraphicsCommandList1))); return(new GraphicsCommandList1(nativePointer)); }
/// <summary> /// <p>Creates a new graphics command list object.</p> /// </summary> /// <param name="type">A <see cref="SharpDX.Direct3D12.CommandListType"/> value that specifies the type of command list to create.</param> /// <param name="flags">A <see cref="CommandListFlags"/> flags.</param> /// <returns>A new instance of <see cref="GraphicsCommandList1"/>.</returns> public GraphicsCommandList1 CreateCommandList1(SharpDX.Direct3D12.CommandListType type, SharpDX.Direct3D12.CommandListFlags flags) { return(CreateCommandList1(0, type, flags)); }