https://github.com/BradLarson/GPUImage2
GPUImage2 是swift的版本
XCode11.2

复制这两个文件到你的工程

记得 source 必须不参与编译

然后到taget添加GPUImage依赖

就能编译成功了
后续用到lookfilter的时候发现Source不参与编译,GPUImage的获取图片方法路径不对
需要把Source文件夹里面的LookpImages 文件夹放到工程参与编译
https://github.com/BradLarson/GPUImage2
GPUImage2 是swift的版本
XCode11.2
复制这两个文件到你的工程
记得 source 必须不参与编译
然后到taget添加GPUImage依赖
就能编译成功了
后续用到lookfilter的时候发现Source不参与编译,GPUImage的获取图片方法路径不对
需要把Source文件夹里面的LookpImages 文件夹放到工程参与编译
本文标题:Swift 集成 GPUImage2
本文链接:https://www.haomeiwen.com/subject/qvytnctx.html
网友评论