There is a write
function documented in the CoreImage Metal shader reference here: https://developer.apple.com/metal/MetalCIKLReference6.pdf
But I'm not sure how to use it. I assumed one would be able to use it on the destination parameter i.e. dest.write(...)
but I get the error, "no member named 'write' in 'coreimage::destination'"
How do I use this function?