haroldserrano / gettingstartedwithmetal Goto Github PK
View Code? Open in Web Editor NEWGetting Started with the Metal API
Getting Started with the Metal API
@haroldserrano: Thank you for sharing so much information about game engine programming including the tutorials you made. This is very valuable!
I just started to follow your course https://www.haroldserrano.com/blog/getting-started-with-metal-api and there, a link brought me to this repo. Interesstingly enough, it brought me to a branch within the repo called MetalBasics. I used the ZIP downloader, unzipped and opened the XCode project. I am on macOS 10.14 with XCode 11.3.1.
I then went to the Scheme and deactivated ""Metal API validation" as I saw this in one of your videos about installing the Untoldengine. After compiling and running for the target for the iPhone 11 Pro (simulator, no real device), this is the error messages I get, i.e. it does not work, there is a blank screen:
2020-02-08 09:05:48.990969+0100 GettingStartedMetal[8193:4425166] [CAMetalLayer nextDrawable] returning nil because device is nil.
2020-02-08 09:05:48.997626+0100 GettingStartedMetal[8193:4425166] [CAMetalLayer nextDrawable] returning nil because device is nil.
2020-02-08 09:05:49.011861+0100 GettingStartedMetal[8193:4425166] [CAMetalLayer nextDrawable] returning nil because device is nil.`
[... it goes on like this ...]
P.S.: Unrelated to the error, but do I need to do this in the iOS emulator or can I just run the sample as a macOS app?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.