CanvasSpriteBatchIsSupported Method |
Namespace: Microsoft.Graphics.Canvas
public static bool IsSupported( CanvasDevice device )
If the application is currently running on an operating system that doesn't support sprite batch then calls to CreateSpriteBatch will fail.
If you know that your application will never run on an operating system that doesn't support sprite batch then there is no need to perform this check.