One Logo Pool Ball
MetalPerformanceShaders · IOS API REFERENCE

MPSCNNUpsamplingNearestGradientNode

class · iOS 11.3+ · SDK 27.1

class MPSCNNUpsamplingNearestGradientNode

Members (3)

init · iOS 11.3+

init

TypeScript
static init(sourceGradient: MPSNNImageNode, sourceImage: MPSNNImageNode, gradientState: MPSNNGradientStateNode, scaleFactorX: number, scaleFactorY: number): MPSCNNUpsamplingNearestGradientNode
Swift declaration
init(sourceGradient: MPSNNImageNode, sourceImage: MPSNNImageNode, gradientState: MPSNNGradientStateNode, scaleFactorX: Double, scaleFactorY: Double)
get · iOS 11.3+

scaleFactorX

TypeScript
get scaleFactorX(): number
Swift declaration
var scaleFactorX: Double { get }
get · iOS 11.3+

scaleFactorY

TypeScript
get scaleFactorY(): number
Swift declaration
var scaleFactorY: Double { get }

Skipped declarations

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

MPSCNNUpsamplingNearestGradientNode.init()

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

All MetalPerformanceShaders types →