One Logo Pool Ball
MetalPerformanceShaders · IOS API REFERENCE

MPSNNPadNode

class · iOS 12.1+ · SDK 27.1

class MPSNNPadNode

Members (3)

init · iOS 12.1+

init

TypeScript
static init(source: MPSNNImageNode, paddingSizeBefore: MPSImageCoordinate, paddingSizeAfter: MPSImageCoordinate, edgeMode: MPSImageEdgeMode): MPSNNPadNode
Swift declaration
init(source: MPSNNImageNode, paddingSizeBefore: MPSImageCoordinate, paddingSizeAfter: MPSImageCoordinate, edgeMode: MPSImageEdgeMode)
get · iOS 12.1+

fillValue

TypeScript
get fillValue(): number
Swift declaration
var fillValue: Float { get set }
set · iOS 12.1+

fillValue

TypeScript
set fillValue(value: number)
Swift declaration
var fillValue: Float { get set }

Skipped declarations

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

MPSNNPadNode.init()

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

All MetalPerformanceShaders types →