SoDepthBufferElementDepthWriteFunctions Enumeration |
Depth function mode as defined by OpenGL.
Namespace: OIV.Inventor.Elements
Member name | Value | Description | |
---|---|---|---|
NEVER | 0 | Never passes. | |
LESS | 1 | Passes if the incoming depth value is less than the stored depth value. | |
EQUAL | 5 | Passes if the incoming depth value is equal to the stored depth value. | |
LEQUAL | 2 | Passes if the incoming depth value is less than or equal to the stored depth value. | |
GREATER | 3 | Passes if the incoming depth value is greater than the stored depth value. | |
NOTEQUAL | 6 | Passes if the incoming depth value is not equal to the stored depth value. | |
GEQUAL | 4 | Passes if the incoming depth value is greater than or equal to the stored depth value. | |
ALWAYS | 7 | Always passes. |