Notitie
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen u aan te melden of de directory te wijzigen.
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen de mappen te wijzigen.
Specifies how one of the color sources is to be derived and optionally specifies a preblend operation on the color source.
Syntax
typedef enum D2D1_BLEND {
D2D1_BLEND_ZERO = 1,
D2D1_BLEND_ONE = 2,
D2D1_BLEND_SRC_COLOR = 3,
D2D1_BLEND_INV_SRC_COLOR = 4,
D2D1_BLEND_SRC_ALPHA = 5,
D2D1_BLEND_INV_SRC_ALPHA = 6,
D2D1_BLEND_DEST_ALPHA = 7,
D2D1_BLEND_INV_DEST_ALPHA = 8,
D2D1_BLEND_DEST_COLOR = 9,
D2D1_BLEND_INV_DEST_COLOR = 10,
D2D1_BLEND_SRC_ALPHA_SAT = 11,
D2D1_BLEND_BLEND_FACTOR = 14,
D2D1_BLEND_INV_BLEND_FACTOR = 15,
D2D1_BLEND_FORCE_DWORD = 0xffffffff
} ;
Constants
D2D1_BLEND_ZEROValue: 1 The data source is black (0, 0, 0, 0). There is no preblend operation. |
D2D1_BLEND_ONEValue: 2 The data source is white (1, 1, 1, 1). There is no preblend operation. |
D2D1_BLEND_SRC_COLORValue: 3 The data source is color data (RGB) from the second input of the blend transform. There is not a preblend operation. |
D2D1_BLEND_INV_SRC_COLORValue: 4 The data source is color data (RGB) from second input of the blend transform. The preblend operation inverts the data, generating 1 - RGB. |
D2D1_BLEND_SRC_ALPHAValue: 5 The data source is alpha data (A) from second input of the blend transform. There is no preblend operation. |
D2D1_BLEND_INV_SRC_ALPHAValue: 6 The data source is alpha data (A) from the second input of the blend transform. The preblend operation inverts the data, generating 1 - A. |
D2D1_BLEND_DEST_ALPHAValue: 7 The data source is alpha data (A) from the first input of the blend transform. There is no preblend operation. |
D2D1_BLEND_INV_DEST_ALPHAValue: 8 The data source is alpha data (A) from the first input of the blend transform. The preblend operation inverts the data, generating 1 - A. |
D2D1_BLEND_DEST_COLORValue: 9 The data source is color data from the first input of the blend transform. There is no preblend operation. |
D2D1_BLEND_INV_DEST_COLORValue: 10 The data source is color data from the first input of the blend transform. The preblend operation inverts the data, generating 1 - RGB. |
D2D1_BLEND_SRC_ALPHA_SATValue: 11 The data source is alpha data from the second input of the blend transform. The preblend operation clamps the data to 1 or less. |
D2D1_BLEND_BLEND_FACTORValue: 14 The data source is the blend factor. There is no preblend operation. |
D2D1_BLEND_INV_BLEND_FACTORValue: 15 The data source is the blend factor. The preblend operation inverts the blend factor, generating 1 - blend_factor. |
D2D1_BLEND_FORCE_DWORDValue: 0xffffffff |
Remarks
This enumeration has the same numeric values as D3D10_BLEND.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 8 and Platform Update for Windows 7 [desktop apps | UWP apps] |
| Minimum supported server | Windows Server 2012 and Platform Update for Windows Server 2008 R2 [desktop apps | UWP apps] |
| Header | d2d1effectauthor.h |