Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ccworld1000/cccanvas

对iOS Metal 颜色,点,线,三角形,面,纹理,金字塔,六边形,七边形,立方体 demo 的封装 [Support Swift and Objective-C]
https://github.com/ccworld1000/cccanvas

canvas cccanvas color cube gpu heptagonal hexagon line metal plane pyamid texture triangle

Last synced: 4 days ago
JSON representation

对iOS Metal 颜色,点,线,三角形,面,纹理,金字塔,六边形,七边形,立方体 demo 的封装 [Support Swift and Objective-C]

Awesome Lists containing this project

README

        

### [CCCanvas](https://github.com/ccworld1000/CCCanvas) 对iOS Metal 颜色,点,线,三角形,面,纹理,金字塔,六边形,七边形,立方体 demo 的封装

* 主要简化演示,没有深入考虑细节
* 封装了Metal相关细节,极简调用
* 支持CocoaPods 导入, pod 'CCCanvas'
* 可能是史上最简的iOS演示GPU,Metal的demo
* 使用Objective-C编写,同时支持Objective-C与Swift语言调用
* 使用Xcode13.1生成动态CCCanvas.framework,仅支持iOS 15 x86_64 模拟器
* 对iOS Metal 颜色,点,线,三角形,面,纹理,金字塔,六边形,七边形,立方体 demo 的封装
* iOS GPU Metal中的一个小小细节可能会导致卡在那里半天,几天,甚至更久,后果苦不堪言,于是可能就有了以下demo,也许不定时更新,主要是封装细节,极简调用,运行demo,初步体验,更多的细节再通过网上查阅细节。

### [CCCanvas](https://github.com/ccworld1000/CCCanvas) iOS Metal GPU 极简体验Demo系列

1. [CCCanvas](https://github.com/ccworld1000/CCCanvas) iOS Metal GPU 极简体验Demo之 - 颜色 [<<代码链接>>](https://github.com/ccworld1000/CCCanvas.Color)

![CCCanvas.Color iPhone Screenshot](https://raw.github.com/ccworld1000/CCCanvas.Screenshot/main/CCCanvas.Color.jpg?raw=true)

2. [CCCanvas](https://github.com/ccworld1000/CCCanvas) iOS Metal GPU 极简体验Demo之 - 点 [<<代码链接>>](https://github.com/ccworld1000/CCCanvas.Point)

![CCCanvas.Point iPhone Screenshot](https://raw.github.com/ccworld1000/CCCanvas.Screenshot/main/CCCanvas.Point.jpg?raw=true)

3. [CCCanvas](https://github.com/ccworld1000/CCCanvas) iOS Metal GPU 极简体验Demo之 - 线 [<<代码链接>>](https://github.com/ccworld1000/CCCanvas.Line)

![CCCanvas.Line iPhone Screenshot](https://raw.github.com/ccworld1000/CCCanvas.Screenshot/main/CCCanvas.Line.jpg?raw=true)

4. [CCCanvas](https://github.com/ccworld1000/CCCanvas) iOS Metal GPU 极简体验Demo之 - 三角形 [<<代码链接>>](https://github.com/ccworld1000/CCCanvas.Triangle)

![CCCanvas.Triangle iPhone Screenshot](https://raw.github.com/ccworld1000/CCCanvas.Screenshot/main/CCCanvas.Triangle.jpg?raw=true)

5. [CCCanvas](https://github.com/ccworld1000/CCCanvas) iOS Metal GPU 极简体验Demo之 - 面 [<<代码链接>>](https://github.com/ccworld1000/CCCanvas.Plane)

![CCCanvas.Plane iPhone Screenshot](https://raw.github.com/ccworld1000/CCCanvas.Screenshot/main/CCCanvas.Plane.jpg?raw=true)

6. [CCCanvas](https://github.com/ccworld1000/CCCanvas) iOS Metal GPU 极简体验Demo之 - 纹理 [<<代码链接>>](https://github.com/ccworld1000/CCCanvas.Texture)

![CCCanvas.Texture iPhone Screenshot](https://raw.github.com/ccworld1000/CCCanvas.Screenshot/main/CCCanvas.Texture.jpg?raw=true)

7. [CCCanvas](https://github.com/ccworld1000/CCCanvas) iOS Metal GPU 极简体验Demo之 - 金字塔 [<<代码链接>>](https://github.com/ccworld1000/CCCanvas.Pyamid)

![CCCanvas.Pyamid iPhone Screenshot](https://raw.github.com/ccworld1000/CCCanvas.Screenshot/main/CCCanvas.Pyamid.jpg?raw=true)

8. [CCCanvas](https://github.com/ccworld1000/CCCanvas) iOS Metal GPU 极简体验Demo之 - 六边形 [<<代码链接>>](https://github.com/ccworld1000/CCCanvas.Hexagon)

![CCCanvas.Hexagon iPhone Screenshot](https://raw.github.com/ccworld1000/CCCanvas.Screenshot/main/CCCanvas.Hexagon.jpg?raw=true)

9. [CCCanvas](https://github.com/ccworld1000/CCCanvas) iOS Metal GPU 极简体验Demo之 - 七边形 [<<代码链接>>](https://github.com/ccworld1000/CCCanvas.Heptagonal)

![CCCanvas.Heptagonal iPhone Screenshot](https://raw.github.com/ccworld1000/CCCanvas.Screenshot/main/CCCanvas.Heptagonal.jpg?raw=true)

10. [CCCanvas](https://github.com/ccworld1000/CCCanvas) iOS Metal GPU 极简体验Demo之 - 立方体 [<<代码链接>>](https://github.com/ccworld1000/CCCanvas.Cube)

![CCCanvas.Cube iPhone Screenshot](https://raw.github.com/ccworld1000/CCCanvas.Screenshot/main/CCCanvas.Cube.jpg?raw=true)