Table of Contents

Struct BlendDescription

Namespace
PaintDotNet.Direct2D1
Assembly
PaintDotNet.Windows.dll

Defines a blend description to be used in a particular blend transform.
D2D1_BLEND_DESCRIPTION

public struct BlendDescription : IEquatable<BlendDescription>
Implements
Inherited Members

Remarks

This description closely matches the D3D11_BLEND_DESC struct with some omissions and the addition of the blend factor in the description.

Constructors

BlendDescription(BlendOption, BlendOption, BlendOperation, BlendOption, BlendOption, BlendOperation, BlendFactor)

Properties

BlendFactor

Parameters to the blend operations. The blend must use BlendFactor for this to be used.

BlendOperation

Specifies how to combine the RGB data sources.

BlendOperationAlpha

Specifies how to combine the alpha data sources.

DestinationBlend

Specifies the second RGB data source and includes an optional preblend operation.

DestinationBlendAlpha

Specifies the second alpha data source and includes an optional preblend operation. Blend options that end in Color are not allowed.

SourceBlend

Specifies the first RGB data source and includes an optional preblend operation.

SourceBlendAlpha

Specifies the first alpha data source and includes an optional preblend operation. Blend options that end in Color are not allowed.

Methods

Equals(BlendDescription)
Equals(in BlendDescription)
Equals(object?)
GetHashCode()

Operators

operator ==(in BlendDescription, in BlendDescription)
operator !=(in BlendDescription, in BlendDescription)