Edit

Share via


ID3D11DeviceContext::RSSetState method (d3d11.h)

Set the rasterizer state for the rasterizer stage of the pipeline.

Syntax

void RSSetState(
  [in, optional] ID3D11RasterizerState *pRasterizerState
);

Parameters

[in, optional] pRasterizerState

Type: ID3D11RasterizerState*

Pointer to a rasterizer-state interface (see ID3D11RasterizerState) to bind to the pipeline.

Return value

None

Remarks

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.

Requirements

Requirement Value
Target Platform Windows
Header d3d11.h
Library D3D11.lib

See also

ID3D11DeviceContext


Additional resources