cocos2d-x
3.3
|
FBO class that grabs the the contents of the screen. More...
#include <CCGrabber.h>
Public Member Functions | |
Grabber (void) | |
ctor More... | |
~Grabber (void) | |
NA NA More... | |
void | grab (Texture2D *texture) |
void | beforeRender (Texture2D *texture) |
void | afterRender (Texture2D *texture) |
![]() | |
void | retain () |
Retains the ownership. More... | |
void | release () |
Releases the ownership immediately. More... | |
Ref * | autorelease () |
Releases the ownership sometime soon automatically. More... | |
unsigned int | getReferenceCount () const |
Returns the Ref's current reference count. More... | |
virtual | ~Ref () |
NA NA More... | |
Protected Attributes | |
GLuint | _FBO |
GLint | _oldFBO |
GLfloat | _oldClearColor [4] |
![]() | |
unsigned int | _referenceCount |
count of references More... | |
Additional Inherited Members | |
![]() | |
Ref () | |
Constructor. More... | |
FBO class that grabs the the contents of the screen.
Grabber | ( | void | ) |
ctor
~Grabber | ( | void | ) |
NA NA
void afterRender | ( | Texture2D * | texture | ) |
void beforeRender | ( | Texture2D * | texture | ) |
void grab | ( | Texture2D * | texture | ) |
|
protected |
|
protected |
|
protected |