![](/img/trans.png)
[英]Direct3D 11: Why does the depth buffer not work and the cube continues to display incorrectly?
我想畫一個 3D 的立方體,但是顯示不正確。 即Z緩沖(深度緩沖)不起作用。 深度緩沖區的初始化發生在 InitDepthBuffer 方法中,我從 Microsoft 的手冊中復制了該方法。 InitDepthBuffer方法在下面的InitD3D方法中被調用。 為什么“立方體”顯示不正確以及 ...