# RasterState(CullMode, int, float, bool)

> Creates a new raster state with the given values.

## Definition

* **Type:** Constructor
* **Namespace:** [UnityEngine.Rendering](/engine/6000.7/script-reference/unityengine/rendering.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public RasterState(CullMode cullingMode = CullMode.Back, int offsetUnits = 0, float offsetFactor = 0, bool depthClip = true)
```

### Parameters

**** (\[CullMode]\(/engine/6000.7/script-reference/unityengine/rendering/cullmode)): Controls which sides of polygons should be culled (not drawn).**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): Scales the minimum resolvable depth buffer value in the GPU's depth bias setting.**** (\[float]\(https\://learn.microsoft.com/dotnet/api/system.single)): Scales the maximum Z slope in the GPU's depth bias setting.**** (\[bool]\(https\://learn.microsoft.com/dotnet/api/system.boolean)):&#x20;
