Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The following tables list the members exposed by the RasterizerState type.
Public Constructors
| Name | Description | |
|---|---|---|
![]() |
RasterizerState | Initializes a new instance of the rasterizer class. |
Public Fields
| Name | Description | |
|---|---|---|
![]() |
CullClockwise | A built-in state object with settings for culling primitives with clockwise winding order. |
![]() |
CullCounterClockwise | A built-in state object with settings for culling primitives with counter-clockwise winding order. |
![]() |
CullNone | A built-in state object with settings for not culling any primitives. |
Public Properties
| Name | Description | |
|---|---|---|
![]() |
CullMode | Specifies the conditions for culling or removing triangles. The default value is CullMode.CounterClockwise. |
![]() |
DepthBias | Sets or retrieves 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. |
![]() |
FillMode | The fill mode, which defines how a triangle is filled during rendering. The default is FillMode.Solid. |
![]() |
GraphicsDevice | (Inherited from GraphicsResource.) |
![]() |
IsDisposed | (Inherited from GraphicsResource.) |
![]() |
MultiSampleAntiAlias | Enables or disables multisample antialiasing. The default is true. |
![]() |
Name | (Inherited from GraphicsResource.) |
![]() |
ScissorTestEnable | Enables or disables scissor testing. The default is false. |
![]() |
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. |
![]() |
Tag | (Inherited from GraphicsResource.) |
Public Methods
| Name | Description | |
|---|---|---|
![]() |
Dispose | Overloaded. Immediately releases the unmanaged resources used by this object. |
![]() |
Equals | (Inherited from Object.) |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetType | (Inherited from Object.) |
![]() |
ToString | (Inherited from GraphicsResource.) |
Protected Methods
| Name | Description | |
|---|---|---|
![]() |
Finalize | (Inherited from GraphicsResource.) |
![]() |
MemberwiseClone | (Inherited from Object.) |
Public Events
| Name | Description | |
|---|---|---|
![]() |
Disposing | (Inherited from GraphicsResource.) |
See Also
Reference
RasterizerState Class
Microsoft.Xna.Framework.Graphics Namespace
.gif)
.gif)
.gif)
.gif)
.gif)