This is the sample code for the article Picking and Hit-Testing in Metal on Metal by Example.
metal-by-example/metal-picking
A demonstration of picking (hit-testing) in a 3D scene rendered with Metal
SwiftMIT
A demonstration of picking (hit-testing) in a 3D scene rendered with Metal
SwiftMIT
This is the sample code for the article Picking and Hit-Testing in Metal on Metal by Example.