How to compile CIFilter at runtime?
-
03-07-2021 - |
Question
I would like to do at runtime in a program, what Quartz Composer does with the Core Image Filter patch: Compiling a CIFilter inside Quartz Composer. Quartz Composer has a patch that takes the text of the CIFilter kernel, with which it creates the CIFilter.
Do we have access to this in the public API?
Solution
The solution is to apply a kernel, and the kernel is created with the + kernelsWithString: class method.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow