This topic is now archived and is closed to further replies.



Recommended Posts

Well, if you have some code for loading a bitmap, then you could do this:
- Get an interface to the back buffer with: Device.GetBackBuffer
- Lock the back buffer with: BackBuffer.LockRect
- Load in the bitmap info
- Unlock the back buffer
Where: Device is a device (surprisingly), BackBuffer is an IDirect3DSurface8 object that you setup with Device.GetBackBuffer.
This is assuming that you''re using Direct3D 8

But, I wouldn''t do this myself, I would load the bitmap into a texture, and use a quad to put it in the back buffer (probably with some 2D wrapper classes to make it easy for me).

I don''t know what the best way is though.

John B

Share this post

Link to post
Share on other sites