Created
May 20, 2012 01:09
-
-
Save beugnen/2733061 to your computer and use it in GitHub Desktop.
FBO Draw Sequence
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (void)glkView:(GLKView *)view drawInRect:(CGRect)rect | |
{ | |
_myView->DrawToBackbuffer(); // this will draw in 2nd FBO | |
[((GLKView *) self.view) bindDrawable]; // reset to main framebuffer | |
_myView->RenderToMainscreen(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment