Click or drag to resize
CanvasCompositionCreateCompositionSurfaceForSwapChain Method
[Win10_10586] Creates an ICompositionSurface associated with a CanvasSwapChain.

Namespace:  Microsoft.Graphics.Canvas.UI.Composition
Assembly:  Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax
C#
public static ICompositionSurface CreateCompositionSurfaceForSwapChain(
	Compositor compositor,
	CanvasSwapChain swapChain
)

Parameters

compositor
Type: Windows.UI.CompositionCompositor
swapChain
Type: Microsoft.Graphics.CanvasCanvasSwapChain

Return Value

Type: ICompositionSurface
Remarks

This API is only available when running on Windows 10 build 10586 (released November 2015) or greater.

See Also