In this episode I will go over how to take vertex information and process it using the GPU. Then I will show you how to render a white triangle to the screen.
Also apple messed something up when they updated to catalina where for some reason the triangle doesn't look right. I promise that if you continue on it will fix itself. I have looked into a ton of other Metal Tutorial Blogs and found that they are also broken.
To get rid of the simd deprecated issue you can add these lines of code to the top of your GameView.swift file.
public typealias float2 = SIMD2<Float>
public typealias float3 = SIMD3<Float>
public typealias float4 = SIMD4<Float>
Swift Game Engine Tutorial Playlist
• Swift Game Engine Tutorial With Metal...
Become A Patron:
/ 2etime
I really do appreciate everyone in this community! Thank you all!
Episode Source Code:
https://github.com/twohyjr/Metal-Game...
Discord:
/ discord
Enjoy!