One Logo Pool Ball
MetalPerformanceShaders · IOS API REFERENCE

MPSImageEDLines

class · iOS 13.4+ · SDK 27.1

class MPSImageEDLines

Members (18)

method · iOS 13.4+

encode

TypeScript
encode(commandBuffer: SDKHandle, source: SDKHandle, dest: (SDKHandle) | null, endpointBuffer: SDKHandle, endpointOffset: number): void
Swift declaration
func encode(to commandBuffer: any MTLCommandBuffer, sourceTexture source: any MTLTexture, destinationTexture dest: (any MTLTexture)?, endpointBuffer: any MTLBuffer, endpointOffset: Int)
init · iOS 13.4+

init

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

init

TypeScript
static initDeviceGaussianSigmaMinLineLengthMaxLinesDetailRatioGradientThresholdLineErrorThresholdMergeLocalityThreshold(device: SDKHandle, gaussianSigma: number, minLineLength: number, maxLines: number, detailRatio: number, gradientThreshold: number, lineErrorThreshold: number, mergeLocalityThreshold: number): MPSImageEDLines
Swift declaration
init(device: any MTLDevice, gaussianSigma: Float, minLineLength: UInt16, maxLines: Int, detailRatio: UInt16, gradientThreshold: Float, lineErrorThreshold: Float, mergeLocalityThreshold: Float)
get · iOS 13.4+

clipRectSource

TypeScript
get clipRectSource(): _Metal_MTLRegion
Swift declaration
var clipRectSource: MTLRegion { get set }
set · iOS 13.4+

clipRectSource

TypeScript
set clipRectSource(value: _Metal_MTLRegion)
Swift declaration
var clipRectSource: MTLRegion { get set }
get · iOS 13.4+

detailRatio

TypeScript
get detailRatio(): number
Swift declaration
var detailRatio: UInt16 { get set }
set · iOS 13.4+

detailRatio

TypeScript
set detailRatio(value: number)
Swift declaration
var detailRatio: UInt16 { get set }
get · iOS 13.4+

gaussianSigma

TypeScript
get gaussianSigma(): number
Swift declaration
var gaussianSigma: Float { get }
get · iOS 13.4+

gradientThreshold

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

gradientThreshold

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

lineErrorThreshold

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

lineErrorThreshold

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

maxLines

TypeScript
get maxLines(): number
Swift declaration
var maxLines: Int { get set }
set · iOS 13.4+

maxLines

TypeScript
set maxLines(value: number)
Swift declaration
var maxLines: Int { get set }
get · iOS 13.4+

mergeLocalityThreshold

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

mergeLocalityThreshold

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

minLineLength

TypeScript
get minLineLength(): number
Swift declaration
var minLineLength: UInt16 { get set }
set · iOS 13.4+

minLineLength

TypeScript
set minLineLength(value: number)
Swift declaration
var 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 →