One Logo Pool Ball
MetalPerformanceShaders · IOS API REFERENCE

MPSImagePyramid

class · iOS 10.0+ · SDK 27.1

class MPSImagePyramid

Members (6)

init · iOS 11.0+

init

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

init

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

init

TypeScript
static initDeviceCenterWeight(device: SDKHandle, centerWeight: number): MPSImagePyramid
Swift declaration
convenience init(device: any MTLDevice, centerWeight: Float)
init · iOS 10.0+

init

TypeScript
static initDeviceKernelWidthKernelHeightWeights(device: SDKHandle, kernelWidth: number, kernelHeight: number, kernelWeights: SDKHandle): MPSImagePyramid
Swift declaration
init(device: any MTLDevice, kernelWidth: Int, kernelHeight: Int, weights kernelWeights: UnsafePointer<Float>)
get · iOS 10.0+

kernelHeight

TypeScript
get kernelHeight(): number
Swift declaration
var kernelHeight: Int { get }
get · iOS 10.0+

kernelWidth

TypeScript
get kernelWidth(): number
Swift declaration
var kernelWidth: Int { get }

Skipped declarations

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

MPSImagePyramid.init()

inherited init: cannot prove legal (class declares 3 custom initializers)

All MetalPerformanceShaders types →