cocos2d-x  3.2
 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:
Ref

Public Member Functions

 Grabber (void)
 Grabber ()
 ~Grabber (void)
void grab (Texture2D *texture)
var grab ( var texture)
local grab ( local 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 Ref
void retain ()
 Retains the ownership. More...
 
void release ()
 Releases the ownership immediately. More...
 
Refautorelease ()
 Releases the ownership sometime soon automatically. More...
 
unsigned int getReferenceCount () const
 Returns the Ref's current reference count. More...
 
virtual ~Ref ()

Protected Attributes

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

Additional Inherited Members

- Protected Member Functions inherited from Ref
 Ref ()
 Constructor. 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: