Click or drag to resize
CanvasDrawingSessionCreateSpriteBatch Method (CanvasSpriteSortMode)
[Win10_10586] Creates a new sprite batch for efficiently drawing many CanvasBitmaps with a specific sort mode.

Namespace:  Microsoft.Graphics.Canvas
Assembly:  Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax
C#
public CanvasSpriteBatch CreateSpriteBatch(
	CanvasSpriteSortMode sortMode
)

Parameters

sortMode
Type: Microsoft.Graphics.CanvasCanvasSpriteSortMode

Return Value

Type: CanvasSpriteBatch
Remarks

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

The default sortMode is None.

See CanvasSpriteBatch for details.

See Also