clearTemporalHistory
TypeScriptclearTemporalHistory(): voidSwift declarationfunc clearTemporalHistory()class · iOS 13.0+ · SDK 27.1
class MPSSVGFDenoiserclearTemporalHistory(): voidSwift declarationfunc clearTemporalHistory()encode(commandBuffer: SDKHandle, sourceTexture: SDKHandle, motionVectorTexture: (SDKHandle) | null, depthNormalTexture: SDKHandle, previousDepthNormalTexture?: (SDKHandle) | null): SDKHandleSwift declarationfunc encode(commandBuffer: any MTLCommandBuffer, sourceTexture: any MTLTexture, motionVectorTexture: (any MTLTexture)?, depthNormalTexture: any MTLTexture, previousDepthNormalTexture: (any MTLTexture)?) -> any MTLTexturestatic initDevice(device: SDKHandle): MPSSVGFDenoiserSwift declarationinit(device: any MTLDevice)static initSVGFTextureAllocator(svgf: MPSSVGF, textureAllocator: SDKHandle): MPSSVGFDenoiserSwift declarationinit(SVGF svgf: MPSSVGF, textureAllocator: any MPSSVGFTextureAllocator)releaseTemporaryTextures(): voidSwift declarationfunc releaseTemporaryTextures()get bilateralFilterIterations(): numberSwift declarationvar bilateralFilterIterations: Int { get set }set bilateralFilterIterations(value: number)Swift declarationvar bilateralFilterIterations: Int { get set }get svgf(): MPSSVGFSwift declarationvar svgf: MPSSVGF { get }get textureAllocator(): SDKHandleSwift declarationvar textureAllocator: any MPSSVGFTextureAllocator { get }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)