Edit

Share via


PipelineBuilder.FromEffect Method

Definition

Overloads

FromEffect(Func<Task<IGraphicsEffectSource>>)

Starts a new PipelineBuilder pipeline from the input Windows.Graphics.Effects.IGraphicsEffectSource instance

FromEffect(Func<IGraphicsEffectSource>)

Starts a new PipelineBuilder pipeline from the input Windows.Graphics.Effects.IGraphicsEffectSource instance

FromEffect(IGraphicsEffectSource)

Starts a new PipelineBuilder pipeline from the input Windows.Graphics.Effects.IGraphicsEffectSource instance

FromEffect(Func<Task<IGraphicsEffectSource>>)

Starts a new PipelineBuilder pipeline from the input Windows.Graphics.Effects.IGraphicsEffectSource instance

public static Microsoft.Toolkit.Uwp.UI.Media.Pipelines.PipelineBuilder FromEffect (Func<System.Threading.Tasks.Task<Windows.Graphics.Effects.IGraphicsEffectSource>> factory);
static member FromEffect : Func<System.Threading.Tasks.Task<Windows.Graphics.Effects.IGraphicsEffectSource>> -> Microsoft.Toolkit.Uwp.UI.Media.Pipelines.PipelineBuilder
Public Shared Function FromEffect (factory As Func(Of Task(Of IGraphicsEffectSource))) As PipelineBuilder

Parameters

factory
Func<Task<Windows.Graphics.Effects.IGraphicsEffectSource>>

A Func<TResult> that asynchronously returns a Windows.Graphics.Effects.IGraphicsEffectSource instance to start the pipeline

Returns

A new PipelineBuilder instance to use to keep adding new effects

Applies to

FromEffect(Func<IGraphicsEffectSource>)

Starts a new PipelineBuilder pipeline from the input Windows.Graphics.Effects.IGraphicsEffectSource instance

public static Microsoft.Toolkit.Uwp.UI.Media.Pipelines.PipelineBuilder FromEffect (Func<Windows.Graphics.Effects.IGraphicsEffectSource> factory);
static member FromEffect : Func<Windows.Graphics.Effects.IGraphicsEffectSource> -> Microsoft.Toolkit.Uwp.UI.Media.Pipelines.PipelineBuilder
Public Shared Function FromEffect (factory As Func(Of IGraphicsEffectSource)) As PipelineBuilder

Parameters

factory
Func<Windows.Graphics.Effects.IGraphicsEffectSource>

A Func<TResult> that synchronously returns a Windows.Graphics.Effects.IGraphicsEffectSource instance to start the pipeline

Returns

A new PipelineBuilder instance to use to keep adding new effects

Applies to

FromEffect(IGraphicsEffectSource)

Starts a new PipelineBuilder pipeline from the input Windows.Graphics.Effects.IGraphicsEffectSource instance

public static Microsoft.Toolkit.Uwp.UI.Media.Pipelines.PipelineBuilder FromEffect (Windows.Graphics.Effects.IGraphicsEffectSource effect);
static member FromEffect : Windows.Graphics.Effects.IGraphicsEffectSource -> Microsoft.Toolkit.Uwp.UI.Media.Pipelines.PipelineBuilder
Public Shared Function FromEffect (effect As IGraphicsEffectSource) As PipelineBuilder

Parameters

effect
Windows.Graphics.Effects.IGraphicsEffectSource

A Windows.Graphics.Effects.IGraphicsEffectSource instance to start the pipeline

Returns

A new PipelineBuilder instance to use to keep adding new effects

Applies to