init
TypeScriptstatic initCoderDevice(aDecoder: _Foundation_NSCoder, device: SDKHandle): (MPSImageCanny) | nullSwift declarationinit?(coder aDecoder: NSCoder, device: any MTLDevice)class · iOS 14.0+ · SDK 27.1
class MPSImageCannystatic initCoderDevice(aDecoder: _Foundation_NSCoder, device: SDKHandle): (MPSImageCanny) | nullSwift declarationinit?(coder aDecoder: NSCoder, device: any MTLDevice)static initDevice(device: SDKHandle): MPSImageCannySwift declarationconvenience init(device: any MTLDevice)static initDeviceLinearToGrayScaleTransformSigma(device: SDKHandle, transform: SDKHandle, sigma: number): MPSImageCannySwift declarationinit(device: any MTLDevice, linearToGrayScaleTransform transform: UnsafePointer<Float>, sigma: Float)get colorTransform(): SDKHandleSwift declarationvar colorTransform: UnsafePointer<Float> { get }get highThreshold(): numberSwift declarationvar highThreshold: Float { get set }set highThreshold(value: number)Swift declarationvar highThreshold: Float { get set }get lowThreshold(): numberSwift declarationvar lowThreshold: Float { get set }set lowThreshold(value: number)Swift declarationvar lowThreshold: Float { get set }get sigma(): numberSwift declarationvar sigma: Float { get }get useFastMode(): booleanSwift declarationvar useFastMode: Bool { get set }set useFastMode(value: boolean)Swift declarationvar useFastMode: Bool { get set }1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
MPSImageCanny.init()
inherited init: cannot prove legal (class declares 2 custom initializers)