generateMatte(from:commandBuffer:)
Generates alpha matte at either full resolution or half the resolution of the captured image.
Declaration
func generateMatte(from frame: ARFrame, commandBuffer: any MTLCommandBuffer) -> any MTLTextureReturn Value
An alpha matte texture at the resolution you chose at initialization.