MetalPerformanceShaders Changes for Swift
MetalPerformanceShaders (Added)
Added MPSBinaryImageKernel
Added MPSImageAreaMax
Added MPSImageAreaMin
Added MPSImageBox
Added MPSImageBox.kernelHeight
Added MPSImageBox.kernelWidth
Added MPSImageConvolution
Added MPSImageConvolution.bias
Added MPSImageDilate
Added MPSImageEdgeMode [enum]
Added MPSImageEdgeMode.Clamp
Added MPSImageEdgeMode.Zero
Added MPSImageErode
Added MPSImageGaussianBlur
Added MPSImageHistogram
Added MPSImageHistogram.init(device: MTLDevice, histogramInfo: UnsafePointer<MPSImageHistogramInfo>)
Added MPSImageHistogramInfo.init()
Added MPSImageHistogramInfo.init(numberOfHistogramEntries: Int, histogramForAlpha: ObjCBool, minPixelValue: vector_float4, maxPixelValue: vector_float4)
Added MPSImageIntegral
Added MPSImageLanczosScale
Added MPSImageLanczosScale.scaleTransform
Added MPSImageMedian
Added MPSImageSobel
Added MPSImageTent
Added MPSImageThresholdBinary
Added MPSImageThresholdToZero
Added MPSImageTranspose
Added MPSKernel
Added MPSKernel.device
Added MPSKernel.label
Added MPSKernel.options
Added MPSKernelOptions.init(rawValue: UInt)
Added MPSKernelOptions.None
Added MPSOffset [struct]
Added MPSOffset.init()
Added MPSOffset.init(x: Int, y: Int, z: Int)
Added MPSOffset.x
Added MPSOffset.y
Added MPSOffset.z
Added MPSOrigin [struct]
Added MPSOrigin.init()
Added MPSOrigin.init(x: Double, y: Double, z: Double)
Added MPSOrigin.x
Added MPSOrigin.y
Added MPSOrigin.z
Added MPSRegion [struct]
Added MPSRegion.init()
Added MPSRegion.init(origin: MPSOrigin, size: MPSSize)
Added MPSRegion.origin
Added MPSRegion.size
Added MPSScaleTransform.init()
Added MPSScaleTransform.init(scaleX: Double, scaleY: Double, translateX: Double, translateY: Double)
Added MPSScaleTransform.scaleX
Added MPSScaleTransform.scaleY
Added MPSSize [struct]
Added MPSSize.depth
Added MPSSize.height
Added MPSSize.init()
Added MPSSize.init(width: Double, height: Double, depth: Double)
Added MPSSize.width
Added MPSUnaryImageKernel
Added MPSCopyAllocator
Added MPSRectNoClip