[DirectX 10] Device default states

Started by
1 comment, last by Aqua Costa 13 years, 3 months ago
When I call ID3D10Device::RSSetState(), ID3D10Device::OMSetBlendState(), ID3D10Device::OMSetDepthStencilState() and other methods with parameter 0 like OMSetBlendState(0) which state is actually set?
Advertisement
The docs state that the default states are set. If you look at the documentation for the state description structures (D3D11_BLEND_DESC/D3D11_DEPTH_STENCIL_DESC/etc.) it lists the default values.
So when I call OMSetDepthStencilState(0) the device will get the default values of D3D11_DEPTH_STENCIL_DESC right?

This topic is closed to new replies.

Advertisement