Sign in to follow this  
The Frugal Gourmet

Quick RenderToSurface Question

Recommended Posts

Original post by darookie
Yes. You will have to create and attach a separate depth-buffer surface as well.

Cool. I assume that I do this by using CreateDepthStencilSurface() method and then assigning it to the device when it's time to use? Do I then save the original depth buffer so I can restore it back?

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this