There's a C++ wrapper for NSProcessInfo in metal-cpp, and that's available to us since we're in pfMetalPipeline, and this allows us to avoid Objective-C in shared library code.
Since it returns a struct with just integers, we can also use ST::format to combine them into a string instead of needing to create and release an NSString.
There's a C++ wrapper for NSProcessInfo in metal-cpp, and that's available to us since we're in pfMetalPipeline, and this allows us to avoid Objective-C in shared library code.
Since it returns a struct with just integers, we can also use ST::format to combine them into a string instead of needing to create and release an NSString.