d3d11spikysphere.cpp | 94 ID3D11DepthStencilView* zsv; member in struct:d3d11spikysphere 101 : cur_width(-1), cur_height(-1), zsv(0) 155 if(zsv) 156 zsv->Release(); 168 ensure(dev->CreateDepthStencilView(zsbuf, 0, &zsv)); 201 ctx->OMSetRenderTargets(1, &rtv, zsv); 218 ctx->ClearDepthStencilView(zsv, D3D11_CLEAR_DEPTH, 1.0f, 0);
|