Is there a simple way to decode a PNG image in Swift?

前端 未结 0 1821
轻奢々
轻奢々 2020-12-04 12:36

How can I turn PNG data into raw [r, g, b, a, ...] data, in Swift, for texture loading with descriptors? I\'m not allowed to use MTKTextureLoader

相关标签:
回答
  • 消灭零回复
提交回复
热议问题