
## CompareFunction enumeration

The compare function used in depth/stencil testing.



The CompareFunction type exposes the following members:

### Fields
| Field | Description |
| :- | :- |
| NEVER | Never passes |
| LESS | Pass if the incoming value is less than the stored value. |
| EQUAL | Pass if the incoming value is equal to the stored value. |
| L_EQUAL | Pass if the incoming value is less than or equal to the stored value. |
| GREATER | Pass if the incoming value is greater than the stored value. |
| NOT_EQUAL | Pass if the incoming value is not equal to the stored value. |
| G_EQUAL | Pass if the incoming value is greater than or equal to the stored value. |
| ALWAYS | Always passes |



### See Also
* module [`aspose.threed.render`](..)
