CCEffectBlur Class Reference
| Inherits from | CCEffect : NSObject |
| Declared in | CCEffectBlur.h |
Tasks
Accessing Effect Attributes
-
blurRadiusproperty
Initializing a CCEffectBlur object
Creating a CCEffectBlur object
Class Methods
effectWithBlurRadius:
Creates a CCEffectBlur object with the specified parameters.
+ (id)effectWithBlurRadius:(NSUInteger)blurRadiusParameters
- blurRadius
number of pixels blur will extend to (6 is the maximum, because we are limited by the number of varying variables that can be passed to a glsl program).
Return Value
The CCEffectBlur object.
Declared In
CCEffectBlur.hInstance Methods
init
Initializes a CCEffectBlur object with the following default parameters: blurRadius = 2
- (id)initReturn Value
The CCEffectBlur object.
Declared In
CCEffectBlur.hinitWithPixelBlurRadius:
Initializes a CCEffectBlur object with the specified parameters.
- (id)initWithPixelBlurRadius:(NSUInteger)blurRadiusParameters
- blurRadius
number of pixels blur will extend to (6 is the maximum, because we are limited by the number of varying variables that can be passed to a glsl program).
Return Value
The CCEffectBlur object.
Declared In
CCEffectBlur.h