MTLPixelFormat.rgb8Unorm
An ordinary format with three components of 8-bit normalized, unsigned integer values in RGB order.
Declaration
case rgb8UnormDiscussion
The order of the color components in this format are red, green and blue.
You can apply this format to a texture you create only with an MTLTextureDescriptor instance with all of the following property configurations:
The usage property can’t include the shaderWrite option.
The textureType property needs to be equal to MTLTextureType.typeTextureBuffer.