Tag: 迅速开放

Swift OpenGL未parsing标识符kCGImageAlphaPremultipliedLast

我收到'kCGImageAlphaPremultipliedLast'未解决的标识符错误。 Swift找不到它。 这在Swift中可用吗? var gc = CGBitmapContextCreate(&pixelData, width: width, height: height, bitsPerComponent: 8, bytesPerRow: width*4, imageCS, bitmapInfo: kCGImageAlphaPremultipliedLast);