Reposted by Exsto
To keep pan, zoom and rotation responsive in @exstoapp.bsky.social, we reproject the latest GPU result while Metal renders an updated canvas.
I wrote about the process:
nilcoalescing.com/blog/Keeping...
#iOSDev #Metal
nilcoalescing.com
Keeping canvas interactions responsive with frame reprojection
Keep a complex Metal-rendered canvas responsive during pan, zoom and rotation gestures by reprojecting rendered states with CAMetalLayer.