Okay, I'm totally new to Metal and I want to add Metal support to my engine for OSX. It's cross platform, so it already works on OSX via OpenGL4. When I search for tutorials on Metal, all I find is iOS documentation, and I'm not focusing on iOS right now. Anything related to OSX? I also tried looking at the developer website, but it was all related to iOS as well. :/
Does this mean that the code is exactly the same, minus UIView and stuff? I'm no expert on Objective-C either. My engine uses SDL because it's cross platform, so I barely touch any Obj-C if I can help it.
I tried modifying an iOS example for OSX that happens to use SDL2, but nothing shows up on the screen. If you want to see what I did, view the modified code here: http://pastebin.com/zB7hpeun
So yeah, it's pretty safe to say I don't know what I'm doing. Any ideas? Thanks.
Shogun.
Does this mean that the code is exactly the same, minus UIView and stuff? I'm no expert on Objective-C either. My engine uses SDL because it's cross platform, so I barely touch any Obj-C if I can help it.
I tried modifying an iOS example for OSX that happens to use SDL2, but nothing shows up on the screen. If you want to see what I did, view the modified code here: http://pastebin.com/zB7hpeun
So yeah, it's pretty safe to say I don't know what I'm doing. Any ideas? Thanks.
Shogun.