Initializer

init(device:matteResolution:)

Creates an AR matte generator.

Declaration

init(device: MTLDevice, matteResolution: ARMatteGenerator.Resolution)

Discussion

To create matte textures in real-time, create this object once and reuse it every frame.