Skip to content

Commit 7307f0c

Browse files
author
Thayer J Andrews
committed
CCEffectNode - API documentation
1 parent af6d966 commit 7307f0c

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

cocos2d/CCEffectNode.h

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,26 @@
1919
#import <UIKit/UIKit.h>
2020
#endif // iPHone
2121

22+
23+
/**
24+
* CCEffectNode allows the user to apply effects to the collection of nodes that
25+
* are its children.
26+
*/
27+
2228
@interface CCEffectNode : CCRenderTexture <CCEffectProtocol>
2329

30+
/// -----------------------------------------------------------------------
31+
/// @name Initializing a CCEffectNode object
32+
/// -----------------------------------------------------------------------
33+
34+
/**
35+
* Initializes a CCEffectNode object with the specified parameters.
36+
*
37+
* @param w The width of the effect node in points.
38+
* @param h The height of the effect node in points.
39+
*
40+
* @return The CCEffectNode object.
41+
*/
2442
-(id)initWithWidth:(int)w height:(int)h;
2543

2644
@end

0 commit comments

Comments
 (0)