MetalPerformanceShaders · IOS API REFERENCE
MPSNDArrayMultiaryGradientKernel
class · iOS 13.0+ · SDK 27.1
class MPSNDArrayMultiaryGradientKernel
Members (4)
method · iOS 13.0+encode
TypeScriptencodeToSourceArraysSourceGradientGradientState(cmdBuf: SDKHandle, sources: Array<MPSNDArray>, gradient: MPSNDArray, state: MPSState): MPSNDArray
Swift declarationfunc encode(to cmdBuf: any MTLCommandBuffer, sourceArrays sources: [MPSNDArray], sourceGradient gradient: MPSNDArray, gradientState state: MPSState) -> MPSNDArray
method · iOS 13.0+encode
TypeScriptencodeToSourceArraysSourceGradientGradientStateDestinationArray(cmdBuf: SDKHandle, sources: Array<MPSNDArray>, gradient: MPSNDArray, state: MPSState, destination: MPSNDArray): void
Swift declarationfunc encode(to cmdBuf: any MTLCommandBuffer, sourceArrays sources: [MPSNDArray], sourceGradient gradient: MPSNDArray, gradientState state: MPSState, destinationArray destination: MPSNDArray)
init · iOS 13.0+init
TypeScriptstatic initCoderDevice(coder: _Foundation_NSCoder, device: SDKHandle): MPSNDArrayMultiaryGradientKernel
Swift declarationinit(coder: NSCoder, device: any MTLDevice)
init · iOS 13.0+init
TypeScriptstatic initDeviceSourceCountSourceGradientIndex(device: SDKHandle, count: number, sourceGradientIndex: number): MPSNDArrayMultiaryGradientKernel
Swift declarationinit(device: any MTLDevice, sourceCount count: Int, sourceGradientIndex: Int)
Skipped declarations
1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
MPSNDArrayMultiaryGradientKernel.init()
inherited init: cannot prove legal (class declares 1 custom initializer)
All MetalPerformanceShaders types →