Harley-xk / MaLiang

iOS painting and drawing library based on Metal. 神笔马良有一支神笔(基于 Metal 的涂鸦绘图库)
MIT License
1.47k stars 208 forks source link

如何实现图层效果? #123

Open LiaoGuopeng opened 2 years ago

LiaoGuopeng commented 2 years ago

我有两个方案,一个是多个Canvas叠加,一个是使用Z轴来实现,请问哪个方案好些?

KishanMakk commented 2 years ago

taking multiple canvas in stack will cause high memory go for other scheme

ys-homie commented 2 years ago

多图层有什么思路可以实现