Value | Meaning |
---|---|
Never0 | A new value never passes the comparison test. |
Less1 | A new value passes the comparison test if it is less than the existing value. |
Equal2 | A new value passes the comparison test if it is equal to the existing value. |
LessEqual3 | A new value passes the comparison test if it is less than or equal to the existing value. |
Greater4 | A new value passes the comparison test if it is greater than the existing value. |
NotEqual5 | A new value passes the comparison test if it is not equal to the existing value. |
GreaterEqual6 | A new value passes the comparison test if it is greater than or equal to the existing value. |
Always7 | A new value always passes the comparison test. |
Options used to specify how a sample compare operation should be performed on a depth texture.