سؤال

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.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top