3 #ifndef __GAF_SUBOBJECT_STATE__
4 #define __GAF_SUBOBJECT_STATE__
6 #include "GAFCollections.h"
8 enum GAFColorTransformIndex
21 float _colorOffsets[4];
23 unsigned long m_refCount;
27 unsigned int objectIdRef;
28 unsigned int maskObjectIdRef;
31 cocos2d::AffineTransform affineTransform;
33 bool initEmpty(
unsigned int objectIdRef);
38 inline float * colorMults()
40 return &_colorMults[0];
42 inline float * colorOffsets()
44 return &_colorOffsets[0];
47 inline const float * colorMults()
const
49 return &_colorMults[0];
52 inline const float * colorOffsets()
const
54 return &_colorOffsets[0];
57 inline bool isVisible()
const
59 return _colorMults[GAFCTI_A] != 0;
62 void ctxMakeIdentity();
65 const Filters_t& getFilters()
const;
73 #endif // __GAF_SUBOBJECT_STATE__
Definition: GAFSubobjectState.h:16
Definition: GAFFilterData.h:10