Platform SDK: DirectX |
The ID3DXContext::SetClearStencil method sets the value to which the stencil-buffer surface will be cleared.
HRESULT SetClearStencil( DWORD dwClearValue );
This method returns S_OK.
After setting the stencil value with this method, you can call the ID3DXContext::Clear method to clear the stencil-buffer surface to this value.
Windows NT/2000: Requires Windows 2000.
Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
Version: Requires DirectX 7.0.
Header: Declared in d3dxcore.h.
Library: Use d3dx.lib.
ID3DXContext::Clear, ID3DXContext::SetClearColor, ID3DXContext::SetClearDepth