One Logo Pool Ball
MetalPerformanceShaders · IOS API REFERENCE

MPSCNNNeuronGradientNode

class · iOS 11.3+ · SDK 27.1

class MPSCNNNeuronGradientNode

Members (2)

init · iOS 11.3+

init

TypeScript
static init(sourceGradient: MPSNNImageNode, sourceImage: MPSNNImageNode, gradientState: MPSNNGradientStateNode, descriptor: MPSNNNeuronDescriptor): MPSCNNNeuronGradientNode
Swift declaration
init(sourceGradient: MPSNNImageNode, sourceImage: MPSNNImageNode, gradientState: MPSNNGradientStateNode, descriptor: MPSNNNeuronDescriptor)
get · iOS 11.3+

descriptor

TypeScript
get descriptor(): MPSNNNeuronDescriptor
Swift declaration
var descriptor: MPSNNNeuronDescriptor { get }

Skipped declarations

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

MPSCNNNeuronGradientNode.init()

inherited init: cannot prove legal (class declares 1 custom initializer)

All MetalPerformanceShaders types →