One Logo Pool Ball
MetalPerformanceShaders · IOS API REFERENCE

MPSCNNUpsamplingNearestNode

class · iOS 11.0+ · SDK 27.1

class MPSCNNUpsamplingNearestNode

Members (3)

init · iOS 11.0+

init

TypeScript
static init(sourceNode: MPSNNImageNode, integerScaleFactorX: number, integerScaleFactorY: number): MPSCNNUpsamplingNearestNode
Swift declaration
init(source sourceNode: MPSNNImageNode, integerScaleFactorX: Int, integerScaleFactorY: Int)
get · iOS 11.0+

scaleFactorX

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

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.

MPSCNNUpsamplingNearestNode.init()

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

All MetalPerformanceShaders types →