Build Metal-based Core Image kernels with Xcode
Apple 文档:
Building a Library with Metal’s Command-Line Tools
Metal Shading Language for Core Image Kernels
1. 在 Build Rules 结合 xcrun 编译生成Core Image 用的 kernel 文件
*.metal: .metal 格式文件
*.ci.metal: 是自定义的文件后缀格式.
1.工程引入两个文件:ColorLUT_1.ci.metal 和 ColorLUT_1.ci.me
原创
2022-03-08 16:14:02 ·
945 阅读 ·
0 评论