Metal seems to interpret bgra8Unorm as an rgba color

后端 未结 0 1308
醉酒成梦
醉酒成梦 2021-01-19 05:46

In an Apple Metal app I am trying to edit texture contents. Texture uses bgra8Unorm pixel format and is created like this:

fileprivate var texture: MTLTexture         


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