public static enum SoDepthBuffer.DepthWriteFunctions extends java.lang.Enum<SoDepthBuffer.DepthWriteFunctions> implements IntegerValuedEnum
Enum Constant and Description |
---|
ALWAYS
Always passes.
|
EQUAL
Passes if the incoming depth value is equal to the stored depth value.
|
GEQUAL
Passes if the incoming depth value is greater than or equal to the stored depth value.
|
GREATER
Passes if the incoming depth value is greater than the stored depth value.
|
LEQUAL
Passes if the incoming depth value is less than or equal to the stored depth value.
|
LESS
Passes if the incoming depth value is less than the stored depth value.
|
NEVER
Never passes.
|
NOTEQUAL
Passes if the incoming depth value is not equal to the stored depth value.
|
Modifier and Type | Method and Description |
---|---|
static SoDepthBuffer.DepthWriteFunctions |
fromValue(int val)
Deprecated.
Use
valueOf(int) instead. |
int |
getValue()
Returns the integer value of the enum constant.
|
static SoDepthBuffer.DepthWriteFunctions |
valueOf(int val)
Returns the enum constant of this type with the specified integer value
|
static SoDepthBuffer.DepthWriteFunctions |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SoDepthBuffer.DepthWriteFunctions[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SoDepthBuffer.DepthWriteFunctions NEVER
public static final SoDepthBuffer.DepthWriteFunctions LESS
public static final SoDepthBuffer.DepthWriteFunctions EQUAL
public static final SoDepthBuffer.DepthWriteFunctions LEQUAL
public static final SoDepthBuffer.DepthWriteFunctions GREATER
public static final SoDepthBuffer.DepthWriteFunctions NOTEQUAL
public static final SoDepthBuffer.DepthWriteFunctions GEQUAL
public static final SoDepthBuffer.DepthWriteFunctions ALWAYS
public static SoDepthBuffer.DepthWriteFunctions[] values()
for (SoDepthBuffer.DepthWriteFunctions c : SoDepthBuffer.DepthWriteFunctions.values()) System.out.println(c);
public static SoDepthBuffer.DepthWriteFunctions valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null@Deprecated public static SoDepthBuffer.DepthWriteFunctions fromValue(int val)
valueOf(int)
instead.public static SoDepthBuffer.DepthWriteFunctions valueOf(int val)
public int getValue()
IntegerValuedEnum
getValue
in interface IntegerValuedEnum
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com