cocos2d-x  3.0alpha1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Grabber Class Reference

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

#include <CCGrabber.h>

Inheritance diagram for Grabber:
Object

Public Member Functions

 Grabber (void)
 ~Grabber (void)
void grab (Texture2D *texture)
void beforeRender (Texture2D *texture)
var beforeRender ( var texture)
local beforeRender ( local texture)
void afterRender (Texture2D *texture)
var afterRender ( var texture)
local afterRender ( local texture)
- Public Member Functions inherited from Object
 Object ()
 Constructor. More...
 
virtual ~Object ()
void release ()
 Release the ownership immediately. More...
 
void retain ()
 Retains the ownership. More...
 
Objectautorelease ()
 Release the ownership sometime soon automatically. More...
 
bool isSingleReference () const
 Returns a boolean value that indicates whether there is only one reference to the object. More...
 
unsigned int retainCount () const
 Returns the object's current reference count. More...
 
virtual bool isEqual (const Object *object)
 Returns a boolean value that indicates whether this object and a given object are equal. More...
 
virtual void acceptVisitor (DataVisitor &visitor)
virtual void update (float dt)

Protected Attributes

GLuint _FBO
var _FBO
local _FBO
GLint _oldFBO
var _oldFBO
local _oldFBO
GLfloat _oldClearColor [4]
var _oldClearColor ()
local _oldClearColor ()
- Protected Attributes inherited from Object
unsigned int _reference
 count of references More...
 
unsigned int _autoReleaseCount
 count of autorelease More...
 

Additional Inherited Members

- Public Attributes inherited from Object
unsigned int _ID
 object id, ScriptSupport need public _ID More...
 
int _luaID
 Lua reference id. More...
 

Detailed Description

FBO class that grabs the the contents of the screen.

Constructor & Destructor Documentation

Grabber ( void  )
var ctor (   )
local Grabber (   )
~Grabber ( void  )

Member Function Documentation

void afterRender ( Texture2D texture)
var afterRender ( var  texture)
local afterRender ( local  texture)
void beforeRender ( Texture2D texture)
var beforeRender ( var  texture)
local beforeRender ( local  texture)
void grab ( Texture2D texture)
var grab ( var  texture)
local grab ( local  texture)

Member Data Documentation

GLuint _FBO
protected
var _FBO
protected
local _FBO
protected
GLfloat _oldClearColor[4]
protected
GLfloat _oldClearColor[4]
protected
GLfloat _oldClearColor[4]
protected
GLint _oldFBO
protected
var _oldFBO
protected
local _oldFBO
protected

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