color(_:pixelFormat:)
Indicates that a texture contains color data to interpret in a specific color space.
Declaration
static func color(_ colorSpace: TextureResource.Format.ColorSpace, pixelFormat: MTLPixelFormat) -> TextureResource.FormatDiscussion
The created texture uses the TextureResource.Semantic.color or TextureResource.Semantic.hdrColor semantic.