Jump to content

View more

Image of the Day

Working on an auto spawn system. #gamedev #indiedev #screenshotsaturday https://t.co/Mm2kfekz7b
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

Getting render and depth buffer targets after toggling fullscreen

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
1 reply to this topic

#1 Narf the Mouse   Members   

322
Like
0Likes
Like

Posted 20 August 2012 - 03:15 PM

How do I get the depth and render targets after they've been disposed and new ones created with .ResizeTarget()/ResizeBuffer()? SwapChain.GetBuffer( ) doesn't seem to exist in SlimDX's DirectX10 wrapper.

Thanks.

#2 Narf the Mouse   Members   

322
Like
0Likes
Like

Posted 20 August 2012 - 03:26 PM

And, just to answer my own question, you just recreate them normally, the same way you did when you created the device and dependents.




Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.