Exemplo n.º 1
0
            public MyCustomFilter(CustomerFilterType type)
            {
                Type = type;
#if XAMCORE_2_0
                kernel = CIKernel.FromProgramSingle(GetKernelString());
#else
                kernel = CIKernel.FromProgram(GetKernelString());
#endif
            }
Exemplo n.º 2
0
            public MyCustomFilter(CustomerFilterType type)
            {
                Type = type;
#if XAMCORE_2_0
                kernel = CIKernel.FromProgramSingle(GetKernelString());
#else
                kernel = CIKernel.FromProgram(GetKernelString());
#endif
                Assert.IsNotNull(kernel, $"Kernel: {Type}");
            }