Set the rasterizer state for the rasterizer stage of the pipeline.
public:
void RSSetState(
ID3D11RasterizerState *pRasterizerState
)
pRasterizerState
Type: ID3D11RasterizerState *
[in, optional] Pointer to a rasterizer-state interface (see ID3D11RasterizerState) to bind to the pipeline.
To create a rasterizer state interface, call ID3D11Device::CreateRasterizerState.
The method will hold a reference to the interfaces passed in. This differs from the device state behavior in Direct3D 10.
Header: Declared in d3d11_x.h (d3d11.h on other Windows platforms).
Library: Use d3d11_x.lib (d3d11.lib on other Windows platforms).