You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I want to switch between filters but the camera just freeze.
func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath) {
camera.removeAllTargets()
currentFilter?.removeAllTargets()
let filter = filters[indexPath.item]
currentFilter = filter
camera.addTarget(currentFilter)
currentFilter.addTarget(renderView)
}
The text was updated successfully, but these errors were encountered:
Hi, I want to switch between filters but the camera just freeze.
func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath) {
camera.removeAllTargets()
currentFilter?.removeAllTargets()
let filter = filters[indexPath.item]
currentFilter = filter
camera.addTarget(currentFilter)
currentFilter.addTarget(renderView)
}
The text was updated successfully, but these errors were encountered: