GAF Library
Generic Animation Format
 All Classes Functions Pages
Classes | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
GAFStencilMaskSprite Class Reference
Inheritance diagram for GAFStencilMaskSprite:
GAFSprite

Public Member Functions

 GAFStencilMaskSprite (int stencilLayer)
 
virtual bool initWithTexture (cocos2d::Texture2D *pTexture, const cocos2d::Rect &rect, bool rotated)
 
virtual void draw (cocos2d::Renderer *renderer, const cocos2d::Mat4 &transform, bool transformUpdated) override
 
virtual void visit (cocos2d::Renderer *renderer, const cocos2d::Mat4 &transform, bool transformUpdated) override
 
void invalidateMaskedObjectsOrder ()
 
void addMaskedObject (cocos2d::Node *anObject)
 
void removeMaskedObject (cocos2d::Node *anObject)
 
void updateStencilLayer (int newLayer)
 
- Public Member Functions inherited from GAFSprite
void setExternaTransform (const cocos2d::AffineTransform &transform)
 
void setChildTransform (const cocos2d::AffineTransform &transform)
 
virtual void setUniformsForFragmentShader ()
 
const cocos2d::AffineTransform & childTransform () const
 
const cocos2d::AffineTransform & getExternalTransform () const
 
void setLocator (bool locator)
 
void setAtlasScale (float scale)
 
virtual const cocos2d::Mat4 & getNodeToParentTransform () const override
 
cocos2d::AffineTransform getNodeToParentAffineTransform () const
 
void setTexture (cocos2d::Texture2D *texture)
 
bool initWithTexture (cocos2d::Texture2D *pTexture, const cocos2d::Rect &rect, bool rotated)
 
virtual bool initWithSpriteFrame (cocos2d::SpriteFrame *spriteFrame)
 

Static Public Member Functions

static cocos2d::GLProgram * programShaderForMask ()
 
static void updateMaskContainerOf (cocos2d::Node *node)
 

Protected Member Functions

void sortAllMaskedObjects ()
 
- Protected Member Functions inherited from GAFSprite
void invalidateTransformCache ()
 

Additional Inherited Members

- Public Attributes inherited from GAFSprite
unsigned int objectIdRef
 
- Protected Attributes inherited from GAFSprite
cocos2d::AffineTransform m_externalTransform
 
cocos2d::AffineTransform m_childTransform
 

The documentation for this class was generated from the following files: