Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

RasterizerState Members

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

NameDescription
Public MethodRasterizerStateInitializes a new instance of the rasterizer class.
NameDescription
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.
NameDescription
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.)
NameDescription
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.)
NameDescription
Protected MethodFinalize(Inherited from GraphicsResource.)
Protected MethodMemberwiseClone(Inherited from Object.)
NameDescription
Public EventDisposing(Inherited from GraphicsResource.)
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.