Renderer stencil modes.
More...
|
| 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).
|
|
◆ GraphicsCompareFunction() [1/2]
Constructs a GraphicsCompareFunction of an integer value.
- Parameters
-
value | Integer value to convert to enumeration constant. |
◆ GraphicsCompareFunction() [2/2]
Constructs a copy of a GraphicsCompareFunction object.
- Parameters
-
enum_ | GraphicsCompareFunction to be copy constructed. |
◆ getValue()
Returns the integer value of the enumeration constant.
- Returns
- Integer value.
Implements Enum.
◆ swigToEnum()
Converts an integer value to the matching enumeration constant.
Used internally by SWIG generated code.
- Parameters
-
swigValue | Integer value to convert to enumeration constant. |
- Returns
- Enumeration constant matching the integer value.
◆ swigValue()
Returns the integer value of the enumeration constant.
Used internally by SWIG generated code.
- Returns
- Integer value.
◆ toEnum()
Converts an integer value to the matching enumeration constant.
- Parameters
-
value | Integer value to convert to enumeration constant. |
- Returns
- Enumeration constant matching the integer value.