Is it possible to have several .metal files in you Xcode project that includes not only the standard libraries but also custom include files with C++ functions or common definitions that are used by your shaders? I have some inline functions that I don't want to copy to all the other .metal files that needs them also.
Shared custom includes between metal files
Add a Comment