I'm using DirectX.

It's not that I need to save it as a bitmap, I just want my world to be on a texture so I can add some calculations on it and render it back to the screen.