A filter that convolves an image with a tent filter.
- iOS 9.0+
- macOS 10.13+
- Mac Catalyst 13.0+
- tvOS 9.0+
- Metal Performance Shaders
The kernel elements of the filter form a tent shape with increasing sides, for example:
Like a box filter, this arrangement allows for much faster algorithms, especially for larger blur radii but with a more pleasing appearance.
The tent blur is a separable filter and the Metal Performance Shaders framework will act accordingly to give the best performance for multi-dimensional blurs.