Category : swift

I want to make this custom CIFilter. var dummyColors = [ CIVector(x: 0.9, y: 0.3, z: 0.4), CIVector(x: 0.2, y: 0.5, z: 0.9), CIVector(x: 0.5, y: 0.9, z: 0.3) ] var normal = dummyColors.withUnsafeMutableBufferPointer { (buffer) -> UnsafeMutablePointer<CIVector> in var p = buffer.baseAddress print(p) return p! } //this is parameter and how to pass bvalue ..

Read more