---
UID: NN:d2d1_2.ID2D1CommandSink1
title: ID2D1CommandSink1 (d2d1_2.h)
description: This interface performs all the same functions as the existing ID2D1CommandSink interface. It also enables access to the new primitive blend modes, MIN and ADD, through its SetPrimitiveBlend1 method.
old-location: direct2d\id2d1commandsink1.htm
tech.root: Direct2D
ms.assetid: 126319DE-3E84-4070-A516-9291759593B7
ms.date: 12/05/2018
ms.keywords: ID2D1CommandSink1, ID2D1CommandSink1 interface [Direct2D], ID2D1CommandSink1 interface [Direct2D],described, d2d1_2/ID2D1CommandSink1, direct2d.id2d1commandsink1
f1_keywords:
- d2d1_2/ID2D1CommandSink1
dev_langs:
- c++
req.header: d2d1_2.h
req.include-header: 
req.target-type: Windows
req.target-min-winverclnt: Windows 8.1 [desktop apps \| UWP apps]
req.target-min-winversvr: Windows Server 2012 R2 [desktop apps \| UWP apps]
req.kmdf-ver: 
req.umdf-ver: 
req.ddi-compliance: 
req.unicode-ansi: 
req.idl: 
req.max-support: 
req.namespace: 
req.assembly: 
req.type-library: 
req.lib: 
req.dll: 
req.irql: 
topic_type:
- APIRef
- kbSyntax
api_type:
- COM
api_location:
- d2d1_2.h
api_name:
- ID2D1CommandSink1
targetos: Windows
req.typenames: 
req.redist: 
ms.custom: 19H1
---

# ID2D1CommandSink1 interface


## -description


This interface performs all the same functions as the existing <a href="https://docs.microsoft.com/windows/desktop/api/d2d1_1/nn-d2d1_1-id2d1commandsink">ID2D1CommandSink</a> interface. It also enables access to the new primitive blend modes, MIN and ADD, through its <a href="https://docs.microsoft.com/windows/desktop/Direct2D/id2d1commandsink-setprimitiveblend1">SetPrimitiveBlend1</a> method.


## -inheritance

The <b xmlns:loc="http://microsoft.com/wdcml/l10n">ID2D1CommandSink1</b> interface inherits from <a href="https://docs.microsoft.com/windows/desktop/api/d2d1_1/nn-d2d1_1-id2d1commandsink">ID2D1CommandSink</a>. <b>ID2D1CommandSink1</b> also has these types of members:
<ul>
<li><a href="https://docs.microsoft.com/">Methods</a></li>
</ul>

## -members

The <b>ID2D1CommandSink1</b> interface has these methods.
<table class="members" id="memberListMethods">
<tr>
<th align="left" width="37%">Method</th>
<th align="left" width="63%">Description</th>
</tr>
<tr data="declared;">
<td align="left" width="37%">
<a href="https://docs.microsoft.com/windows/desktop/Direct2D/id2d1commandsink-setprimitiveblend1">SetPrimitiveBlend1</a>
</td>
<td align="left" width="63%">
Sets a new primitive blend mode. 

</td>
</tr>
</table> 


## -see-also




<a href="https://docs.microsoft.com/windows/desktop/api/d2d1_1/nn-d2d1_1-id2d1commandsink">ID2D1CommandSink</a>
 

 

