//////// More...
#include <CCProtocols.h>
Public Member Functions | |
virtual void | setBlendFunc (ccBlendFunc blendFunc)=0 |
Sets the source blending function. More... | |
virtual ccBlendFunc | getBlendFunc (void)=0 |
Returns the blending function that is currently being used. More... | |
////////
|
pure virtual |
Returns the blending function that is currently being used.
Implemented in CCParticleSystem, CCLayerColor, CCSprite, CCSpriteBatchNode, CCArmature, CCParticleBatchNode, CCMotionStreak, CCSkeleton, and CCAtlasNode.
|
pure virtual |
Sets the source blending function.
blendFunc | A structure with source and destination factor to specify pixel arithmetic, e.g. {GL_ONE, GL_ONE}, {GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA}. |
Implemented in CCParticleSystem, CCLayerColor, CCSprite, CCSpriteBatchNode, CCArmature, CCParticleBatchNode, CCMotionStreak, and CCAtlasNode.