## CompareFunction enumeration

The compare function used in depth/stencil testing.

```csharp
public enum CompareFunction
```

### Values

| Name | Value | Description |
| --- | --- | --- |
| Never | `0` | Never passes |
| Less | `1` | Pass if the incoming value is less than the stored value. |
| Equal | `2` | Pass if the incoming value is equal to the stored value. |
| LEqual | `3` | Pass if the incoming value is less than or equal to the stored value. |
| Greater | `4` | Pass if the incoming value is greater than the stored value. |
| NotEqual | `5` | Pass if the incoming value is not equal to the stored value. |
| GEqual | `6` | Pass if the incoming value is greater than or equal to the stored value. |
| Always | `7` | Always passes |

### See Also

* namespace [Aspose.ThreeD.Render](../../aspose.threed.render/)
* assembly [Aspose.3D](../../)


