Saving another frame and using it as background
Hi :)
The title is long enough i think :D
how can i save another frame and use it as background to another frame?
I know how to overwrite,you just dont clear the buffer.
But is there any other way different then overwrite?
Actually im gonna pause the game and draw a menu as sprite.
Any other ideas on how to draw the menu would be appreciated =)
Copy the back buffer to a RT texture using IDirect3DDevice9::StretchRects and then use that in the subsequent frames.
You'll have to oversize the target texture and update only part of it if your graphics card can't do non-power 2 textures.
You'll have to oversize the target texture and update only part of it if your graphics card can't do non-power 2 textures.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement