MetalPerformanceShaders · IOS API REFERENCE
MPSNNGramMatrixCalculationGradientNode
class · iOS 13.0+ · SDK 27.1
class MPSNNGramMatrixCalculationGradientNode
Members (3)
init · iOS 13.0+init
TypeScriptstatic initSourceGradientSourceImageGradientState(sourceGradient: MPSNNImageNode, sourceImage: MPSNNImageNode, gradientState: MPSNNGradientStateNode): MPSNNGramMatrixCalculationGradientNode
Swift declarationinit(sourceGradient: MPSNNImageNode, sourceImage: MPSNNImageNode, gradientState: MPSNNGradientStateNode)
init · iOS 13.0+init
TypeScriptstatic initSourceGradientSourceImageGradientStateAlpha(sourceGradient: MPSNNImageNode, sourceImage: MPSNNImageNode, gradientState: MPSNNGradientStateNode, alpha: number): MPSNNGramMatrixCalculationGradientNode
Swift declarationinit(sourceGradient: MPSNNImageNode, sourceImage: MPSNNImageNode, gradientState: MPSNNGradientStateNode, alpha: Float)
get · iOS 13.0+alpha
TypeScriptget alpha(): number
Swift declarationvar alpha: Float { get }
Skipped declarations
1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
MPSNNGramMatrixCalculationGradientNode.init()
inherited init: cannot prove legal (class declares 2 custom initializers)
All MetalPerformanceShaders types →