RasterizerState Properties

The RasterizerState type exposes the following members.

  Name Description
Public property CullMode Gets or sets the conditions for culling or removing triangles.
Public property DepthBias Gets or sets the depth bias for polygons, which is the amount of bias to apply to the depth of a primitive to alleviate depth testing problems for primitives of similar depth. The default value is 0.
Public property FillMode Get or sets the fill mode, which defines how a triangle is filled during rendering. The default is Solid.
Public property IsDisposed Gets a value that indicates whether the object is disposed. (Inherited from GraphicsResource.)
Public property MultiSampleAntiAlias Gets or sets a value that indicates whether multisample antialiasing is enabled. The default is true.
Public property ScissorTestEnable Get or sets a value that indicates whether scissor testing is enabled. The default is false.
Public property SlopeScaleDepthBias Gets or sets a bias value that takes into account the slope of a polygon. This bias value is applied to coplanar primitives to reduce aliasing and other rendering artifacts caused by z-fighting. The default is 0.

Community Additions