Silence-GitHub / BBMetalImage

A high performance Swift library for GPU-accelerated image/video processing based on Metal.
MIT License
985 stars 125 forks source link

Add camera torch on/off #50

Closed nihedr9 closed 4 years ago

nihedr9 commented 4 years ago

I thought it would be nice to have a method to activate/deactivate the torsh

Silence-GitHub commented 4 years ago

Thanks for PR. There are many settings for camera, including torch, flash, focus mode and so on. I don't think it is necessary to add these to the library. These are not related to metal directly. We can update settings with configureCamera(_:) function.