init(device:matteResolution:)
Creates an AR matte generator.
Declaration
init(device: any MTLDevice, matteResolution: ARMatteGenerator.Resolution)Discussion
To create matte textures in real-time, create this object once and reuse it every frame.
Creates an AR matte generator.
init(device: any MTLDevice, matteResolution: ARMatteGenerator.Resolution)To create matte textures in real-time, create this object once and reuse it every frame.