Is that possible to have a CALayer over another one composed using a blending mode on screen?
I now that it is possible to do that offscreen using drawinrect, but is it possible to see it live on the screen?
thanks for any help.
How To Change The Blending Mode in Photoshop? To change a Layer Blending Mode, you can go to the unlabeled dropdown on the top left of the Layers panel and choose another blending mode for the currently active layer. By default, all Layers are set to Normal, and groups are set to Pass Through.
Simple compositing is done for you with CALayers. If the layer is marked as being non-opaque, any transparent or translucent areas will allow content from layers behind the current one to show through.
On the Mac, Core Image filters can be used to add effects to this process via the compositingFilter
, backgroundFilter
, or filters
properties. However, Core Image is not available on the iPhone.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With