init
TypeScriptstatic initCoderDevice(aDecoder: _Foundation_NSCoder, device: SDKHandle): (MPSImageConvolution) | nullSwift declarationinit?(coder aDecoder: NSCoder, device: any MTLDevice)class · iOS 9.0+ · SDK 27.1
class MPSImageConvolutionstatic initCoderDevice(aDecoder: _Foundation_NSCoder, device: SDKHandle): (MPSImageConvolution) | nullSwift declarationinit?(coder aDecoder: NSCoder, device: any MTLDevice)static initDeviceKernelWidthKernelHeightWeights(device: SDKHandle, kernelWidth: number, kernelHeight: number, kernelWeights: SDKHandle): MPSImageConvolutionSwift declarationinit(device: any MTLDevice, kernelWidth: Int, kernelHeight: Int, weights kernelWeights: UnsafePointer<Float>)get bias(): numberSwift declarationvar bias: Float { get set }set bias(value: number)Swift declarationvar bias: Float { get set }get kernelHeight(): numberSwift declarationvar kernelHeight: Int { get }get kernelWidth(): numberSwift declarationvar kernelWidth: Int { get }1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
MPSImageConvolution.init()
inherited init: cannot prove legal (class declares 1 custom initializer)