Inherits from NSObject
Declared in CCRenderer.h

Overview

Blending mode identifiers used with CCNode.blendMode.

Properties

options

Blending options for this mode.

@property (nonatomic, readonly) NSDictionary *options

Declared In

CCRenderer.h

Class Methods

addMode

Additive blending. (Similar to PhotoShop’s linear dodge mode)

+ (CCBlendMode *)addMode

Declared In

CCRenderer.h

alphaMode

Regular alpha blending.

+ (CCBlendMode *)alphaMode

Declared In

CCRenderer.h

blendModeWithOptions:

Return a cached blending mode with the given options.

+ (CCBlendMode *)blendModeWithOptions:(NSDictionary *)options

Declared In

CCRenderer.h

disabledMode

Disabled blending mode. Use this with fully opaque surfaces for extra performance.

+ (CCBlendMode *)disabledMode

Declared In

CCRenderer.h

multiplyMode

Multiply blending mode. (Similar to PhotoShop’s burn mode)

+ (CCBlendMode *)multiplyMode

Declared In

CCRenderer.h

premultipliedAlphaMode

Pre-multiplied alpha blending. (This is usually the default)

+ (CCBlendMode *)premultipliedAlphaMode

Declared In

CCRenderer.h