One Logo Pool Ball
MetalPerformanceShaders · IOS API REFERENCE

MPSSVGFDenoiser

class · iOS 13.0+ · SDK 27.1

class MPSSVGFDenoiser

Members (9)

method · iOS 13.0+

clearTemporalHistory

TypeScript
clearTemporalHistory(): void
Swift declaration
func clearTemporalHistory()
method · iOS 13.0+

encode

TypeScript
encode(commandBuffer: SDKHandle, sourceTexture: SDKHandle, motionVectorTexture: (SDKHandle) | null, depthNormalTexture: SDKHandle, previousDepthNormalTexture?: (SDKHandle) | null): SDKHandle
Swift declaration
func encode(commandBuffer: any MTLCommandBuffer, sourceTexture: any MTLTexture, motionVectorTexture: (any MTLTexture)?, depthNormalTexture: any MTLTexture, previousDepthNormalTexture: (any MTLTexture)?) -> any MTLTexture
init · iOS 13.0+

init

TypeScript
static initDevice(device: SDKHandle): MPSSVGFDenoiser
Swift declaration
init(device: any MTLDevice)
init · iOS 13.0+

init

TypeScript
static initSVGFTextureAllocator(svgf: MPSSVGF, textureAllocator: SDKHandle): MPSSVGFDenoiser
Swift declaration
init(SVGF svgf: MPSSVGF, textureAllocator: any MPSSVGFTextureAllocator)
method · iOS 13.0+

releaseTemporaryTextures

TypeScript
releaseTemporaryTextures(): void
Swift declaration
func releaseTemporaryTextures()
get · iOS 13.0+

bilateralFilterIterations

TypeScript
get bilateralFilterIterations(): number
Swift declaration
var bilateralFilterIterations: Int { get set }
set · iOS 13.0+

bilateralFilterIterations

TypeScript
set bilateralFilterIterations(value: number)
Swift declaration
var bilateralFilterIterations: Int { get set }
get · iOS 13.0+

svgf

TypeScript
get svgf(): MPSSVGF
Swift declaration
var svgf: MPSSVGF { get }
get · iOS 13.0+

textureAllocator

TypeScript
get textureAllocator(): SDKHandle
Swift declaration
var textureAllocator: any MPSSVGFTextureAllocator { get }

Skipped declarations

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

MPSSVGFDenoiser.encode(commandBuffer:sourceTexture:destinationTexture:sourceTexture2:destinationTexture2:motionVectorTexture:depthNormalTexture:previousDepthNormalTexture:)

The iOS SDK compiler rejected this binding: value of type 'Bool' does not conform to specified type 'MTLTexture'

MPSSVGFDenoiser.init()

inherited init: cannot prove legal (class declares 2 custom initializers)

All MetalPerformanceShaders types →