How to compile CIFilter at runtime?
-
03-07-2021 - |
문제
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?
해결책
The solution is to apply a kernel, and the kernel is created with the + kernelsWithString: class method.
제휴하지 않습니다 StackOverflow