Click or drag to resize
CanvasCompositionCreateCompositionGraphicsDevice Method
[Win10_10586] Creates a CompositionGraphicsDevice associated with a CanvasDevice.

Namespace:  Microsoft.Graphics.Canvas.UI.Composition
Assembly:  Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax
C#
public static CompositionGraphicsDevice CreateCompositionGraphicsDevice(
	Compositor compositor,
	CanvasDevice canvasDevice
)

Parameters

compositor
Type: Windows.UI.CompositionCompositor
canvasDevice
Type: Microsoft.Graphics.CanvasCanvasDevice

Return Value

Type: CompositionGraphicsDevice
Remarks

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

See Also