File tree Expand file tree Collapse file tree 5 files changed +12
-12
lines changed Expand file tree Collapse file tree 5 files changed +12
-12
lines changed Original file line number Diff line number Diff line change 5151 * sprite that serves as the background for the affected node so it appears that the viewer
5252 * is seeing the refracted environment through the refracting node.
5353 */
54- @property (nonatomic ) CCSprite *refractionEnvironment;
54+ @property (nonatomic , strong ) CCSprite *refractionEnvironment;
5555
5656/* * The environment that will be reflected by the affected node. Typically this is a sprite
5757 * that is not visible in the scene as it is conceptually "behind the viewer" and only visible
5858 * where reflected by the affected node.
5959 */
60- @property (nonatomic ) CCSprite *reflectionEnvironment;
60+ @property (nonatomic , strong ) CCSprite *reflectionEnvironment;
6161
6262/* * The normal map that encodes the normal vectors of the affected node. Each pixel in the normal
6363 * map is a 3 component vector that is perpendicular to the surface of the sprite at that point.
6464 */
65- @property (nonatomic ) CCSpriteFrame *normalMap;
65+ @property (nonatomic , strong ) CCSpriteFrame *normalMap;
6666
6767
6868// / -----------------------------------------------------------------------
Original file line number Diff line number Diff line change 2525 * that is not visible in the scene as it is conceptually "behind the viewer" and only visible
2626 * where reflected by the affected node.
2727 */
28- @property (nonatomic ) CCSprite *environment;
28+ @property (nonatomic , strong ) CCSprite *environment;
2929
3030/* * The normal map that encodes the normal vectors of the affected node. Each pixel in the normal
3131 * map is a 3 component vector that is perpendicular to the surface of the sprite at that point.
3232 */
33- @property (nonatomic ) CCSpriteFrame *normalMap;
33+ @property (nonatomic , strong ) CCSpriteFrame *normalMap;
3434
3535/* * The overall shininess of the attached sprite. This value is in the range [0..1] and it controls
3636 * how much of the reflected environment contributes to the final color of the affected pixels.
Original file line number Diff line number Diff line change 2929 * sprite that serves as the background for the affected node so it appears that the viewer
3030 * is seeing the refracted environment through the refracting node.
3131 */
32- @property (nonatomic ) CCSprite *environment;
32+ @property (nonatomic , strong ) CCSprite *environment;
3333
3434/* * The normal map that encodes the normal vectors of the affected node. Each pixel in the normal
3535 * map is a 3 component vector that is perpendicular to the surface of the sprite at that point.
3636 */
37- @property (nonatomic ) CCSpriteFrame *normalMap;
37+ @property (nonatomic , strong ) CCSpriteFrame *normalMap;
3838
3939
4040// / -----------------------------------------------------------------------
Original file line number Diff line number Diff line change @@ -93,12 +93,12 @@ typedef void (^CCEffectRenderPassEndBlock)(CCEffectRenderPass *pass);
9393@interface CCEffectRenderPass : NSObject
9494
9595@property (nonatomic ) NSInteger renderPassId;
96- @property (nonatomic ) CCRenderer* renderer;
96+ @property (nonatomic , strong ) CCRenderer* renderer;
9797@property (nonatomic ) CCSpriteVertexes verts;
9898@property (nonatomic ) GLKMatrix4 transform;
99- @property (nonatomic ) CCBlendMode* blendMode;
100- @property (nonatomic ) CCShader* shader;
101- @property (nonatomic ) NSMutableDictionary * shaderUniforms;
99+ @property (nonatomic , strong ) CCBlendMode* blendMode;
100+ @property (nonatomic , strong ) CCShader* shader;
101+ @property (nonatomic , strong ) NSMutableDictionary * shaderUniforms;
102102@property (nonatomic ) BOOL needsClear;
103103@property (nonatomic ,copy ) NSArray * beginBlocks;
104104@property (nonatomic ,copy ) NSArray * updateBlocks;
Original file line number Diff line number Diff line change 5959@protocol CCEffectProtocol <NSObject >
6060
6161/* * Effect which will be applied to this sprite, NOTE: effect will overwrite any custom CCShader settings. */
62- @property (nonatomic ) CCEffect* effect;
62+ @property (nonatomic , strong ) CCEffect* effect;
6363
6464@end
6565
You can’t perform that action at this time.
0 commit comments