I have searched all over the world and cannot find any examples of using CIFilterShape and what it is good for. Most Apple docs just say that it controls the filter dock, even the CoreImage Reference doesn't actually discuss how to use it.
A simple assumption would be to use it to transform the sizes and offsets of a single rectangle and pass that shape directly onto -[CIKernel applyWithExtent]
.
Such use would not actually create a stencil effect, although I would expect a filter form. Can someone explain and possibly give some examples of the actual use of CIFilterShape?
source
share