Metal in SwiftUI: How to Write Shaders