One Logo Pool Ball
MetalPerformanceShaders · IOS API REFERENCE

MPSCNNInstanceNormalization

class · iOS 11.3+ · SDK 27.1

class MPSCNNInstanceNormalization

Members (10)

init · iOS 11.3+

init

TypeScript
static initCoderDevice(aDecoder: _Foundation_NSCoder, device: SDKHandle): (MPSCNNInstanceNormalization) | null
Swift declaration
init?(coder aDecoder: NSCoder, device: any MTLDevice)
init · iOS 11.3+

init

TypeScript
static initDeviceDataSource(device: SDKHandle, dataSource: SDKHandle): MPSCNNInstanceNormalization
Swift declaration
init(device: any MTLDevice, dataSource: any MPSCNNInstanceNormalizationDataSource)
method · iOS 11.3+ · Deprecated in iOS 12.0

reloadDataSource

TypeScript
reloadDataSource(dataSource: SDKHandle): void
Swift declaration
func reloadDataSource(_ dataSource: any MPSCNNInstanceNormalizationDataSource)
method · iOS 12.0+

reloadGammaAndBetaFromDataSource

TypeScript
reloadGammaAndBetaFromDataSource(): void
Swift declaration
func reloadGammaAndBetaFromDataSource()
method · iOS 11.3+

reloadGammaAndBeta

TypeScript
reloadGammaAndBeta(commandBuffer: SDKHandle, gammaAndBetaState: MPSCNNNormalizationGammaAndBetaState): void
Swift declaration
func reloadGammaAndBeta(with commandBuffer: any MTLCommandBuffer, gammaAndBetaState: MPSCNNNormalizationGammaAndBetaState)
method · iOS 11.3+

resultState

TypeScript
resultState(sourceImage: MPSImage, sourceStates: (Array<MPSState>) | null, destinationImage: MPSImage): (MPSCNNInstanceNormalizationGradientState) | null
Swift declaration
func resultState(sourceImage: MPSImage, sourceStates: [MPSState]?, destinationImage: MPSImage) -> MPSCNNInstanceNormalizationGradientState?
method · iOS 11.3+

temporaryResultState

TypeScript
temporaryResultState(commandBuffer: SDKHandle, sourceImage: MPSImage, sourceStates: (Array<MPSState>) | null, destinationImage: MPSImage): (MPSCNNInstanceNormalizationGradientState) | null
Swift declaration
func temporaryResultState(commandBuffer: any MTLCommandBuffer, sourceImage: MPSImage, sourceStates: [MPSState]?, destinationImage: MPSImage) -> MPSCNNInstanceNormalizationGradientState?
get · iOS 11.3+

dataSource

TypeScript
get dataSource(): SDKHandle
Swift declaration
var dataSource: any MPSCNNInstanceNormalizationDataSource { get }
get · iOS 11.3+

epsilon

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

epsilon

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

Skipped declarations

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

MPSCNNInstanceNormalization.init()

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

All MetalPerformanceShaders types →