Kanzi  3.9.4
Java API
GraphicsCompareFunction Enum Reference

Renderer stencil modes. More...

Inheritance diagram for GraphicsCompareFunction:
[legend]

Public Member Functions

 GraphicsCompareFunction (int mValue)
 
 GraphicsCompareFunction (GraphicsCompareFunction enum_)
 
int getValue ()
 Returns the integer value of the enumeration constant. More...
 
final int swigValue ()
 

Static Public Member Functions

static GraphicsCompareFunction swigToEnum (int swigValue)
 
static GraphicsCompareFunction toEnum (int value)
 Converts an integer value to the matching enumeration constant. More...
 

Public Attributes

 GraphicsCompareFunctionAlways =(1)
 Always passes.
 
 GraphicsCompareFunctionDisabled =(8)
 Compare/test is disabled.
 
 GraphicsCompareFunctionEqual =(6)
 (Ref & mask) = (stencil & mask).
 
 GraphicsCompareFunctionGreater =(4)
 (Ref & mask) > (stencil & mask).
 
 GraphicsCompareFunctionGreaterOrEqual =(5)
 (Ref & mask) >= (stencil & mask).
 
 GraphicsCompareFunctionLess =(2)
 (Ref & mask) < (stencil & mask).
 
 GraphicsCompareFunctionLessOrEqual =(3)
 (Ref & mask) <= (stencil & mask).
 
 GraphicsCompareFunctionNever =(0)
 Always fails.
 
 GraphicsCompareFunctionNotEqual =(7)
 (Ref & mask) != (stencil & mask).
 

Detailed Description

Renderer stencil modes.

Member Function Documentation

◆ getValue()

int getValue ( )

Returns the integer value of the enumeration constant.

Returns
Integer value.

Implements Enum.

◆ toEnum()

static GraphicsCompareFunction toEnum ( int  value)
static

Converts an integer value to the matching enumeration constant.

Parameters
valueInteger value to convert to enumeration constant.
Returns
Enumeration constant matching the integer value.