One Logo Pool Ball
MetalPerformanceShaders · IOS API REFERENCE

MPSImageThresholdToZero

class · iOS 9.0+ · SDK 27.1

class MPSImageThresholdToZero

Members (4)

init · iOS 11.0+

init

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

init

TypeScript
static initDeviceThresholdValueLinearGrayColorTransform(device: SDKHandle, thresholdValue: number, transform?: (SDKHandle) | null): MPSImageThresholdToZero
Swift declaration
init(device: any MTLDevice, thresholdValue: Float, linearGrayColorTransform transform: UnsafePointer<Float>?)
get · iOS 9.0+

thresholdValue

TypeScript
get thresholdValue(): number
Swift declaration
var thresholdValue: Float { get }
get · iOS 9.0+

transform

TypeScript
get transform(): SDKHandle
Swift declaration
var transform: UnsafePointer<Float> { get }

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

MPSImageThresholdToZero.init()

inherited init: cannot prove legal (class declares 1 custom initializer)

All MetalPerformanceShaders types →