1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
| #import "GPUImageFilter.h"
|
| @interface GPUImagePixellatePositionFilter : GPUImageFilter
| {
| GLint fractionalWidthOfAPixelUniform, aspectRatioUniform, centerUniform, radiusUniform;
| }
|
| // The fractional width of the image to use as a size for the pixels in the resulting image. Values below one pixel width in the source image are ignored.
| @property(readwrite, nonatomic) CGFloat fractionalWidthOfAPixel;
|
| // the center point to start pixelation in texture coordinates, default 0.5, 0.5
| @property(readwrite, nonatomic) CGPoint center;
|
| // the radius (0.0 - 1.0) in which to pixelate, default 1.0
| @property(readwrite, nonatomic) CGFloat radius;
|
| @end
|
|