Can I use the metal shader code on the iPad Swift Playground?

Can I use a special metal shader code on the iPad Swift Playground?

If so, how do I get the * .metal file or code (or its pre-compiled object) on the iPad for use with the playground and Swift code? Is Xcode required on a Mac?

(this question doesn’t use the built-in performance shaders, but also to run files on the playground on a Mac)

+4
source share
1 answer

: iOS Xcode, iPad, .metal, ; ( Swift 4 Xcode 9 beta) . Xcode 8/Swift 3, : http://metalkit.org/2016/10/01/using-metalkit-part-2-3-2.html

+4

Source: https://habr.com/ru/post/1679830/


All Articles