MetalPerformanceShaders · IOS API REFERENCE
MPSNDArrayBinarySecondaryGradientKernel
class · iOS 13.0+ · SDK 27.1
class MPSNDArrayBinarySecondaryGradientKernel
Members (4)
method · iOS 13.0+encode
TypeScriptencodeToPrimarySourceArraySecondarySourceArraySourceGradientGradientState(cmdBuf: SDKHandle, primarySourceArray: MPSNDArray, secondarySourceArray: MPSNDArray, gradient: MPSNDArray, state: MPSState): MPSNDArray
Swift declarationfunc encode(to cmdBuf: any MTLCommandBuffer, primarySourceArray: MPSNDArray, secondarySourceArray: MPSNDArray, sourceGradient gradient: MPSNDArray, gradientState state: MPSState) -> MPSNDArray
method · iOS 13.0+encode
TypeScriptencodeToPrimarySourceArraySecondarySourceArraySourceGradientGradientStateDestinationArray(cmdBuf: SDKHandle, primarySourceArray: MPSNDArray, secondarySourceArray: MPSNDArray, gradient: MPSNDArray, state: MPSState, destination: MPSNDArray): void
Swift declarationfunc encode(to cmdBuf: any MTLCommandBuffer, primarySourceArray: MPSNDArray, secondarySourceArray: MPSNDArray, sourceGradient gradient: MPSNDArray, gradientState state: MPSState, destinationArray destination: MPSNDArray)
init · iOS 13.0+init
TypeScriptstatic initCoderDevice(coder: _Foundation_NSCoder, device: SDKHandle): MPSNDArrayBinarySecondaryGradientKernel
Swift declarationinit(coder: NSCoder, device: any MTLDevice)
init · iOS 13.0+init
TypeScriptstatic initDevice(device: SDKHandle): MPSNDArrayBinarySecondaryGradientKernel
Swift declarationinit(device: any MTLDevice)
Skipped declarations
1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
MPSNDArrayBinarySecondaryGradientKernel.init()
inherited init: cannot prove legal (class declares 1 custom initializer)
All MetalPerformanceShaders types →