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
23
24
25
26
27
#import "GPUImageColorMatrixFilter.h"
 
@interface GPUImageHSBFilter : GPUImageColorMatrixFilter
 
/** Reset the filter to have no transformations.
 */
- (void)reset;
 
/** Add a hue rotation to the filter.
 The hue rotation is in the range [-360, 360] with 0 being no-change.
 Note that this adjustment is additive, so use the reset method if you need to.
 */
- (void)rotateHue:(float)h;
 
/** Add a saturation adjustment to the filter.
 The saturation adjustment is in the range [0.0, 2.0] with 1.0 being no-change.
 Note that this adjustment is additive, so use the reset method if you need to.
 */
- (void)adjustSaturation:(float)s;
 
/** Add a brightness adjustment to the filter.
 The brightness adjustment is in the range [0.0, 2.0] with 1.0 being no-change.
 Note that this adjustment is additive, so use the reset method if you need to.
 */
- (void)adjustBrightness:(float)b;
 
@end