![]() |
Mali OpenGL ES SDK v2.4.4
Mali Developer Center
Use of the code snippets present within these pages are subject to these EULA terms
|
#include <MDRFBO.h>
Public Types | |
| typedef MDRRenderable | BaseClass |
Public Member Functions | |
| MDRFBO () | |
| virtual | ~MDRFBO () |
| virtual bool | initialize (unsigned int aWidth, unsigned int aHeight) |
| Initialize / create the Frame Buffer Object. | |
| virtual bool | bindRT () const |
| virtual void | unbindRT () const |
| Unbind the FBO. Make framebuffer as current render target. | |
| virtual void | bindTexture () const |
| Bind the FBO as a texture. | |
| virtual bool | destroy () |
| Delete the FBO. | |
Public Member Functions inherited from MDRRenderable | |
| MDRRenderable () | |
| virtual | ~MDRRenderable () |
Private Attributes | |
| GLuint | theNameFBO |
| GLuint | theNameTexture |
| GLuint | theNameRenderBuffer |
| unsigned int | theWidth |
| unsigned int | theHeight |
The class represents wrapper over Frame Buffer Object.
| typedef MDRRenderable MDRFBO::BaseClass |
| MDRFBO::MDRFBO | ( | ) |
|
virtual |
|
virtual |
Bind the FBO as render target. After the method is called all draw calls go to the FBO
Implements MDRRenderable.
|
virtual |
Bind the FBO as a texture.
Implements MDRRenderable.
|
virtual |
Delete the FBO.
Implements MDRRenderable.
Initialize / create the Frame Buffer Object.
Implements MDRRenderable.
|
virtual |
Unbind the FBO. Make framebuffer as current render target.
Implements MDRRenderable.
|
private |
|
private |
|
private |
|
private |
|
private |