Using/Enabling Depth Buffer

Started by
1 comment, last by reaptide 22 years, 8 months ago
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?
Advertisement
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

Simon O'Connor | Technical Director (Newcastle) Lockwood Publishing | LinkedIn | Personal site

Thanks a lot, that''s just what I needed to know

This topic is closed to new replies.

Advertisement