FBO class that grabs the the contents of the screen. More...
#include <CCGrabber.h>
Public Member Functions | |
Grabber (void) | |
~Grabber (void) | |
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 () |
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 | ) |
~Grabber | ( | void | ) |
void afterRender | ( | Texture2D * | texture | ) |
void beforeRender | ( | Texture2D * | texture | ) |
void grab | ( | Texture2D * | texture | ) |
|
protected |
|
protected |
|
protected |