Jump to content
  • Advertisement

Archived

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

CptanPanic

Is this possible in DX8? Changing which surface is backbuffer?

This topic is 5619 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

Ok this is probably not possible, but I wanted to ask the experts. If I have 2 surfaces(besides the front buffer) in VMEM, can I change which buffer is flipped upon Present()? And also the Direct3d object is created with only one back buffer. Thanks, Brian

Share this post


Link to post
Share on other sites
Advertisement
When a swap chain is presented, the current back buffer (at index 0) is displayed and the chain is rotated. There's no way to change this and there's no way to directly present any other kind of surface.

If I understand you, you want to present a surface that's not part of a swap chain (i.e., not a back buffer). You could CopyRects it to the back buffer.

[edited by - Donavon Keithley on May 8, 2003 3:05:24 AM]

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!