Edit

Share via


PipelineBuilder.Blend(PipelineBuilder, BlendEffectMode, Placement) Method

Definition

Blends two pipelines using a BlendEffect instance with the specified mode

public Microsoft.Toolkit.Uwp.UI.Media.Pipelines.PipelineBuilder Blend (Microsoft.Toolkit.Uwp.UI.Media.Pipelines.PipelineBuilder pipeline, Microsoft.Graphics.Canvas.Effects.BlendEffectMode mode, Microsoft.Toolkit.Uwp.UI.Media.Placement placement = Microsoft.Toolkit.Uwp.UI.Media.Placement.Foreground);
member this.Blend : Microsoft.Toolkit.Uwp.UI.Media.Pipelines.PipelineBuilder * Microsoft.Graphics.Canvas.Effects.BlendEffectMode * Microsoft.Toolkit.Uwp.UI.Media.Placement -> Microsoft.Toolkit.Uwp.UI.Media.Pipelines.PipelineBuilder
Public Function Blend (pipeline As PipelineBuilder, mode As BlendEffectMode, Optional placement As Placement = Microsoft.Toolkit.Uwp.UI.Media.Placement.Foreground) As PipelineBuilder

Parameters

pipeline
PipelineBuilder

The second PipelineBuilder instance to blend

mode
Microsoft.Graphics.Canvas.Effects.BlendEffectMode

The desired Microsoft.Graphics.Canvas.Effects.BlendEffectMode to use to blend the input pipelines

placement
Placement

The placemeht to use with the two input pipelines (the default is Foreground)

Returns

A new PipelineBuilder instance to use to keep adding new effects

Applies to