Parameters

cullingModeControls which sides of polygons should be culled (not drawn).
offsetUnitsScales the minimum resolvable depth buffer value.
offsetFactorScales the maximum Z slope.

Description

Creates a new raster state with the given values.