RasterState

struct in UnityEngine.Rendering

Switch to Manual

Description

Values for the raster state.

Static Variables

defaultValueDefault values for the raster state.

Variables

conservativeEnables conservative rasterization. Before using check for support via SystemInfo.supportsConservativeRaster property.
cullingModeControls which sides of polygons should be culled (not drawn).
depthClipEnable clipping based on depth.
offsetFactorScales the maximum Z slope.
offsetUnitsScales the minimum resolvable depth buffer value.

Constructors

RasterStateCreates a new raster state with the given values.