cocos2d-x  2.2.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
CCGrabber Class Reference

FBO class that grabs the the contents of the screen. More...

#include <CCGrabber.h>

Inheritance diagram for CCGrabber:
CCObject CCCopying

Public Member Functions

 CCGrabber (void)
 ~CCGrabber (void)
void grab (CCTexture2D *pTexture)
void beforeRender (CCTexture2D *pTexture)
void afterRender (CCTexture2D *pTexture)
- Public Member Functions inherited from CCObject
 CCObject (void)
virtual ~CCObject (void)
void release (void)
void retain (void)
CCObjectautorelease (void)
CCObjectcopy (void)
bool isSingleReference (void) const
unsigned int retainCount (void) const
virtual bool isEqual (const CCObject *pObject)
virtual void acceptVisitor (CCDataVisitor &visitor)
virtual void update (float dt)
- Public Member Functions inherited from CCCopying
virtual CCObjectcopyWithZone (CCZone *pZone)

Protected Attributes

GLuint m_FBO
GLint m_oldFBO
GLfloat m_oldClearColor [4]
- Protected Attributes inherited from CCObject
unsigned int m_uReference
unsigned int m_uAutoReleaseCount

Additional Inherited Members

- Public Attributes inherited from CCObject
unsigned int m_uID
int m_nLuaID

Detailed Description

FBO class that grabs the the contents of the screen.

Constructor & Destructor Documentation

CCGrabber ( void  )
~CCGrabber ( void  )

Member Function Documentation

void afterRender ( CCTexture2D pTexture)
void beforeRender ( CCTexture2D pTexture)
void grab ( CCTexture2D pTexture)

Member Data Documentation

GLuint m_FBO
GLfloat m_oldClearColor[4]
GLint m_oldFBO

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