## RenderState.DepthFunction property

Gets or sets the compare function used in depth test

```csharp
public CompareFunction DepthFunction { get; set; }
```

### See Also

* enum [CompareFunction](../../comparefunction/)
* class [RenderState](../)
* namespace [Aspose.ThreeD.Render](../../renderstate/)
* assembly [Aspose.3D](../../../)


