colorPixelFormat
The color pixel format for the current drawable’s texture.
Declaration
var colorPixelFormat: MTLPixelFormat { get set }Discussion
The pixel format must be one that the underlying CAMetalLayer can use. See pixelFormat.
The default value is MTLPixelFormat.bgra8Unorm.