ID2D1CommandSink4::SetPrimitiveBlend2 method

Sets a new primitive blend mode. Allows access to the MAX primitive blend mode.

Syntax


HRESULT SetPrimitiveBlend2(
   D2D1_PRIMITIVE_BLEND primitiveBlend
);

Parameters

primitiveBlend

Type: D2D1_PRIMITIVE_BLEND

The primitive blend that will apply to subsequent primitives.

Return value

Type: HRESULT

If the method succeeds, it returns S_OK. If it fails, it returns an HRESULT error code.

Requirements

Header

D2d1_3.h

DLL

D2d1.dll

See also

ID2D1CommandSink4

 

 

Show: