MetalPerformanceShaders · IOS API REFERENCE
MPSImageEDLines
class · iOS 13.4+ · SDK 27.1
class MPSImageEDLines
Members (18)
method · iOS 13.4+encode
TypeScriptencode(commandBuffer: SDKHandle, source: SDKHandle, dest: (SDKHandle) | null, endpointBuffer: SDKHandle, endpointOffset: number): void
Swift declarationfunc encode(to commandBuffer: any MTLCommandBuffer, sourceTexture source: any MTLTexture, destinationTexture dest: (any MTLTexture)?, endpointBuffer: any MTLBuffer, endpointOffset: Int)
init · iOS 13.4+init
TypeScriptstatic initCoderDevice(aDecoder: _Foundation_NSCoder, device: SDKHandle): (MPSImageEDLines) | null
Swift declarationinit?(coder aDecoder: NSCoder, device: any MTLDevice)
init · iOS 13.4+init
TypeScriptstatic initDeviceGaussianSigmaMinLineLengthMaxLinesDetailRatioGradientThresholdLineErrorThresholdMergeLocalityThreshold(device: SDKHandle, gaussianSigma: number, minLineLength: number, maxLines: number, detailRatio: number, gradientThreshold: number, lineErrorThreshold: number, mergeLocalityThreshold: number): MPSImageEDLines
Swift declarationinit(device: any MTLDevice, gaussianSigma: Float, minLineLength: UInt16, maxLines: Int, detailRatio: UInt16, gradientThreshold: Float, lineErrorThreshold: Float, mergeLocalityThreshold: Float)
get · iOS 13.4+clipRectSource
TypeScriptget clipRectSource(): _Metal_MTLRegion
Swift declarationvar clipRectSource: MTLRegion { get set }
set · iOS 13.4+clipRectSource
TypeScriptset clipRectSource(value: _Metal_MTLRegion)
Swift declarationvar clipRectSource: MTLRegion { get set }
get · iOS 13.4+detailRatio
TypeScriptget detailRatio(): number
Swift declarationvar detailRatio: UInt16 { get set }
set · iOS 13.4+detailRatio
TypeScriptset detailRatio(value: number)
Swift declarationvar detailRatio: UInt16 { get set }
get · iOS 13.4+gaussianSigma
TypeScriptget gaussianSigma(): number
Swift declarationvar gaussianSigma: Float { get }
get · iOS 13.4+gradientThreshold
TypeScriptget gradientThreshold(): number
Swift declarationvar gradientThreshold: Float { get set }
set · iOS 13.4+gradientThreshold
TypeScriptset gradientThreshold(value: number)
Swift declarationvar gradientThreshold: Float { get set }
get · iOS 13.4+lineErrorThreshold
TypeScriptget lineErrorThreshold(): number
Swift declarationvar lineErrorThreshold: Float { get set }
set · iOS 13.4+lineErrorThreshold
TypeScriptset lineErrorThreshold(value: number)
Swift declarationvar lineErrorThreshold: Float { get set }
get · iOS 13.4+maxLines
TypeScriptget maxLines(): number
Swift declarationvar maxLines: Int { get set }
set · iOS 13.4+maxLines
TypeScriptset maxLines(value: number)
Swift declarationvar maxLines: Int { get set }
get · iOS 13.4+mergeLocalityThreshold
TypeScriptget mergeLocalityThreshold(): number
Swift declarationvar mergeLocalityThreshold: Float { get set }
set · iOS 13.4+mergeLocalityThreshold
TypeScriptset mergeLocalityThreshold(value: number)
Swift declarationvar mergeLocalityThreshold: Float { get set }
get · iOS 13.4+minLineLength
TypeScriptget minLineLength(): number
Swift declarationvar minLineLength: UInt16 { get set }
set · iOS 13.4+minLineLength
TypeScriptset minLineLength(value: number)
Swift declarationvar minLineLength: UInt16 { get set }
Skipped declarations
1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
MPSImageEDLines.init()
inherited init: cannot prove legal (class declares 1 custom initializer)
All MetalPerformanceShaders types →