One Logo Pool Ball
ARKit · IOS API REFERENCE

ARMatteGenerator

class · iOS 13.0+ · SDK 27.1

class ARMatteGenerator

Members (3)

method · iOS 13.0+

generateDilatedDepth

TypeScript
generateDilatedDepth(frame: ARFrame, commandBuffer: SDKHandle): SDKHandle
Swift declaration
func generateDilatedDepth(from frame: ARFrame, commandBuffer: any MTLCommandBuffer) -> any MTLTexture
method · iOS 13.0+

generateMatte

TypeScript
generateMatte(frame: ARFrame, commandBuffer: SDKHandle): SDKHandle
Swift declaration
func generateMatte(from frame: ARFrame, commandBuffer: any MTLCommandBuffer) -> any MTLTexture
init · iOS 13.0+

init

TypeScript
static init(device: SDKHandle, matteResolution: ARMatteGenerator_Resolution): ARMatteGenerator
Swift declaration
init(device: any MTLDevice, matteResolution: ARMatteGenerator.Resolution)

Skipped declarations

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

ARMatteGenerator.init()

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

All ARKit types →