Documentation Archive Developer
Search

MetalPerformanceShaders Changes for Swift

MetalPerformanceShaders (Added)

Added MPSImageHistogramInfo.init()
Added MPSImageHistogramInfo.init(numberOfHistogramEntries: Int, histogramForAlpha: ObjCBool, minPixelValue: vector_float4, maxPixelValue: vector_float4)
Added MPSImageLanczosScale.scaleTransform
Added MPSKernel
Added MPSKernelOptions.init(rawValue: UInt)
Added MPSOffset.init()
Added MPSOffset.init(x: Int, y: Int, z: Int)
Added MPSOrigin.init()
Added MPSOrigin.init(x: Double, y: Double, z: Double)
Added MPSRegion.init()
Added MPSRegion.init(origin: MPSOrigin, size: MPSSize)
Added MPSScaleTransform.init()
Added MPSScaleTransform.init(scaleX: Double, scaleY: Double, translateX: Double, translateY: Double)
Added MPSSize.init()
Added MPSSize.init(width: Double, height: Double, depth: Double)