One Logo Pool Ball
MetalPerformanceShaders · IOS API REFERENCE

MPSNNGramMatrixCalculationGradientNode

class · iOS 13.0+ · SDK 27.1

class MPSNNGramMatrixCalculationGradientNode

Members (3)

init · iOS 13.0+

init

TypeScript
static initSourceGradientSourceImageGradientState(sourceGradient: MPSNNImageNode, sourceImage: MPSNNImageNode, gradientState: MPSNNGradientStateNode): MPSNNGramMatrixCalculationGradientNode
Swift declaration
init(sourceGradient: MPSNNImageNode, sourceImage: MPSNNImageNode, gradientState: MPSNNGradientStateNode)
init · iOS 13.0+

init

TypeScript
static initSourceGradientSourceImageGradientStateAlpha(sourceGradient: MPSNNImageNode, sourceImage: MPSNNImageNode, gradientState: MPSNNGradientStateNode, alpha: number): MPSNNGramMatrixCalculationGradientNode
Swift declaration
init(sourceGradient: MPSNNImageNode, sourceImage: MPSNNImageNode, gradientState: MPSNNGradientStateNode, alpha: Float)
get · iOS 13.0+

alpha

TypeScript
get alpha(): number
Swift declaration
var 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 →