Archived

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

reaptide

Using/Enabling Depth Buffer

Recommended Posts

reaptide    226
Hello everyone, I was wondering if it is necessary to create a depth buffer surface using the CreateDepthStencilSurface() function if I have set the EnableAutoDepthStencil and AutoDepthStencilFormat flags in the Present Parameters of the Device?

Share this post


Link to post
Share on other sites
S1CA    1418
If you specify EnableAutoDepthStencil and AutoDepthStencilFormat when you''re creating the device, thats all you need to do.

Look at the tutorials in the SDK (samples\multimedia\direct3d\tutorials) - those are the best way to start with working DX8 code

--
Simon O''''Connor
Creative Asylum Ltd
www.creative-asylum.com

Share this post


Link to post
Share on other sites