Exemplo n.º 1
0
        /// <summary>
        /// This method pre-seeds the PixelOperations engine for the AoT compiler on iOS.
        /// </summary>
        /// <typeparam name="TPixel">The pixel format.</typeparam>
        private static void AotCompilePixelOperations <TPixel>()
            where TPixel : struct, IPixel <TPixel>
        {
            var pixelOp = new PixelOperations <TPixel>();

            pixelOp.GetPixelBlender(PixelColorBlendingMode.Normal, PixelAlphaCompositionMode.Clear);
        }