|  | glCompareFunc Enumeration | 
  
    Namespace: 
   Ooogles
    Assembly:
   Ooogles (in Ooogles.dll) Version: 1.0.0.0 (1.0.0.0)
 Syntax
SyntaxPublic Enumeration CompareFunc
public enum class CompareFunc
 Members
Members|  | Member name | Value | Description | 
|---|
|  | Never | 512 | The function always fails. | 
|  | Less | 513 | For stencil operations, the function passes if (Ref and Mask) < (Stencil and Mask).
            For depth operations, the function passes if the incoming depth value is less than the stored depth value. | 
|  | LessOrEqual | 515 | For stencil operations, the function passes if (Ref and Mask) <= (Stencil and Mask).
            For depth operations, the function passes if the incoming depth value is less than or equal to the stored depth value. | 
|  | Greater | 516 | For stencil operations, the function passes if (Ref and Mask) > (Stencil and Mask).
            For depth operations, the function passes if the incoming depth value is greater than the stored depth value. | 
|  | GreaterOrEqual | 518 | For stencil operations, the function passes if (Ref and Mask) >= (Stencil and Mask).
            For depth operations, the function passes if the incoming depth value is greater than or equal to the stored depth value. | 
|  | Equal | 514 | For stencil operations, the function passes if (Ref and Mask) = (Stencil and Mask).
            For depth operations, the function passes if the incoming depth value is equal to the stored depth value. | 
|  | NotEqual | 517 | For stencil operations, the function passes if (Ref and Mask) != (Stencil and Mask).
            For depth operations, the function passes if the incoming depth value is not equal to the stored depth value. | 
|  | Always | 519 | The function always passes. | 
 See Also
See Also