00001 // How to get and use your render target 00002 Propane::TextureRenderTarget* myTarget = Propane::getNewTextureRenderTarget(640, 480); 00003 myTarget->begin(); 00004 // your gl code goes here 00005 myTarget->end(); 00006 Propane::clear(); 00007 // Draw the texture to screen 00008 drawAsScreenAlignedQuad(myTarget->getRenderTexture()); 00009
1.4.6