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
[r, g, b, a, ...]
MTKTextureLoader