This is meant as a starting point for Swift-based Metal programs on the Mac. All it does is set up the initial device, command queue, pipeline, etc. When run, it opens a 1024x768 window rendering nothing. The basic shaders will render simple vertex buffers with every fragment white.
sjml / base-mac-swift-metal Goto Github PK
View Code? Open in Web Editor NEWboilerplate for Swift + Metal app
License: The Unlicense