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


This topic is 5773 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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