1
2
3
4
5
6
7
8
9
10
11
12
13
| #import "GPUImageFilter.h"
|
| @interface GPUImagePolarPixellateFilter : GPUImageFilter {
| GLint centerUniform, pixelSizeUniform;
| }
|
| // The center about which to apply the distortion, with a default of (0.5, 0.5)
| @property(readwrite, nonatomic) CGPoint center;
| // The amount of distortion to apply, from (-2.0, -2.0) to (2.0, 2.0), with a default of (0.05, 0.05)
| @property(readwrite, nonatomic) CGSize pixelSize;
|
|
| @end
|
|