One Logo Pool Ball
MetalPerformanceShaders · IOS API REFERENCE

MPSImageCanny

class · iOS 14.0+ · SDK 27.1

class MPSImageCanny

Members (11)

init · iOS 14.0+

init

TypeScript
static initCoderDevice(aDecoder: _Foundation_NSCoder, device: SDKHandle): (MPSImageCanny) | null
Swift declaration
init?(coder aDecoder: NSCoder, device: any MTLDevice)
init · iOS 14.0+

init

TypeScript
static initDevice(device: SDKHandle): MPSImageCanny
Swift declaration
convenience init(device: any MTLDevice)
init · iOS 14.0+

init

TypeScript
static initDeviceLinearToGrayScaleTransformSigma(device: SDKHandle, transform: SDKHandle, sigma: number): MPSImageCanny
Swift declaration
init(device: any MTLDevice, linearToGrayScaleTransform transform: UnsafePointer<Float>, sigma: Float)
get · iOS 14.0+

colorTransform

TypeScript
get colorTransform(): SDKHandle
Swift declaration
var colorTransform: UnsafePointer<Float> { get }
get · iOS 14.0+

highThreshold

TypeScript
get highThreshold(): number
Swift declaration
var highThreshold: Float { get set }
set · iOS 14.0+

highThreshold

TypeScript
set highThreshold(value: number)
Swift declaration
var highThreshold: Float { get set }
get · iOS 14.0+

lowThreshold

TypeScript
get lowThreshold(): number
Swift declaration
var lowThreshold: Float { get set }
set · iOS 14.0+

lowThreshold

TypeScript
set lowThreshold(value: number)
Swift declaration
var lowThreshold: Float { get set }
get · iOS 14.0+

sigma

TypeScript
get sigma(): number
Swift declaration
var sigma: Float { get }
get · iOS 14.0+

useFastMode

TypeScript
get useFastMode(): boolean
Swift declaration
var useFastMode: Bool { get set }
set · iOS 14.0+

useFastMode

TypeScript
set useFastMode(value: boolean)
Swift declaration
var useFastMode: Bool { get set }

Skipped declarations

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)

All MetalPerformanceShaders types →