developer
2023-05-20 e12c7b4c22df631ebdcd16b2f98fbef8f738f92f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#import "GPUImageTwoPassTextureSamplingFilter.h"
 
/** A more generalized 9x9 Gaussian blur filter
 */
@interface GPUImageGaussianBlurPositionFilter : GPUImageTwoPassTextureSamplingFilter 
{
    GLint blurCenterUniform, blurRadiusUniform, aspectRatioUniform;
}
 
/** A multiplier for the blur size, ranging from 0.0 on up, with a default of 1.0
 */
@property (readwrite, nonatomic) CGFloat blurSize;
 
/** Center for the blur, defaults to 0.5, 0.5
 */
@property (readwrite, nonatomic) CGPoint blurCenter;
 
/** Radius for the blur, defaults to 1.0
 */
@property (readwrite, nonatomic) CGFloat blurRadius;
 
@end