RasterizerState Members

RasterizerState Members

The following tables list the members exposed by the RasterizerState type.

Public MethodRasterizerStateInitializes a new instance of the rasterizer class.

Public Field StaticCullClockwiseA built-in state object with settings for culling primitives with clockwise winding order.
Public Field StaticCullCounterClockwiseA built-in state object with settings for culling primitives with counter-clockwise winding order.
Public Field StaticCullNoneA built-in state object with settings for not culling any primitives.

Public PropertyCullMode Specifies the conditions for culling or removing triangles. The default value is CullMode.CounterClockwise.
Public PropertyDepthBiasSets 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.
Public PropertyFillMode The fill mode, which defines how a triangle is filled during rendering. The default is FillMode.Solid.
Public PropertyGraphicsDevice(Inherited from GraphicsResource.)
Public PropertyIsDisposed(Inherited from GraphicsResource.)
Public PropertyMultiSampleAntiAlias Enables or disables multisample antialiasing. The default is true.
Public PropertyName(Inherited from GraphicsResource.)
Public PropertyScissorTestEnable Enables or disables scissor testing. The default is false.
Public PropertySlopeScaleDepthBiasGets 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.
Public PropertyTag(Inherited from GraphicsResource.)

Public MethodDisposeOverloaded. Immediately releases the unmanaged resources used by this object.
Public MethodEquals(Inherited from Object.)
Public MethodGetHashCode(Inherited from Object.)
Public MethodGetType(Inherited from Object.)
Public MethodToString(Inherited from GraphicsResource.)

Protected MethodFinalize(Inherited from GraphicsResource.)
Protected MethodMemberwiseClone(Inherited from Object.)

Public EventDisposing(Inherited from GraphicsResource.)

Community Additions

© 2015 Microsoft