IDCompositionEffectGroup::SetCompositeMode method
[This documentation is preliminary and is subject to change.]
Applies to: desktop apps only
Sets the blending mode for this group of effects.
Syntax
HRESULT SetCompositeMode(
D2D1_COMPOSITE_MODE compositeMode
);
Parameters
compositeMode
Type: D2D1_COMPOSITE_MODEThe blending mode to use when composing the result of this effect to the screen.
Return value
Type: HRESULT
If the function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code. See DirectComposition Error Codes for a list of error codes.
Remarks
An effect group applies to the rasterization of a visual subtree. The blending mode determines how that rasterization is blended back with the screen as part of applying the effect. By default, the rasterization is blended back with "source over" semantics; that is, the colors are blended with per-pixel transparency.
Requirements
Minimum supported client |
Windows Developer Preview |
Minimum supported server |
Windows Server Developer Preview |
Header |
Dcomp.h |
Library |
Dcomp.lib |
DLL |
Dcomp.dll |
See also
Build date: 1/8/2012