#include <PropaneFramebuffer.h>
Inheritance diagram for Propane::TextureRectangleFBOTextureRenderTarget:

Public Member Functions | |
| virtual void | begin () |
| virtual void | end () |
| virtual GLuint * | getRenderTexture () |
| virtual void | bindTexture () |
| Call this method to just bind the containing texture directly to the current texture context -- supports texture rectangle and non-standard textures too. | |
| virtual void | unbindTexture () |
| Call this method to unbind the containing texture. | |
| virtual void | texCoord (float s, float t) |
Protected Member Functions | |
| virtual void | createTexture (int w, int h) |
| Create the proper RGBA + depth texture for this use. | |
|
|
Begin rendering to texture; every GL call after this one will render itself into the raw texture handle that we have retained. Implements Propane::TextureRenderTarget. |
|
|
Stop rendering to texture; after this call completes the texture should be updated with whatever calls we made since begin(). Implements Propane::TextureRenderTarget. |
|
|
Get the raw texture for later use
Implements Propane::TextureRenderTarget. |
|
||||||||||||
|
Call this method to look up the texture coordinate of the FBO's target texture. It uses glTexCoord2f. This is required since ARB_texture_rectangle does not use the [0,1] convention for texture coordinates.
Reimplemented from Propane::TextureRenderTarget. |
1.4.6