Can someone explain how I can change the DepthEnable flag at runtime? I'm trying to switch between 3d rendering and 2d rendering without using Direct2D1. As far as I can tell I need to get access to the DepthStencilStateDescription but I don't know how to get to it from the variables I do have access to.
I'm working in Windows 8 metro c# and I've imported the CommonDX project from the samples so I have a d3dDevice and d3dContext as well as a SwapChainBackgroundPanelTarget as my render destination.
Anyone know where to go with this?
Thanks