public static enum SoDepthBufferElement.DepthWriteFunctions extends java.lang.Enum<SoDepthBufferElement.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 SoDepthBufferElement.DepthWriteFunctions |
fromValue(int val)
Deprecated.
Use
valueOf(int) instead. |
int |
getValue()
Returns the integer value of the enum constant.
|
static SoDepthBufferElement.DepthWriteFunctions |
valueOf(int val)
Returns the enum constant of this type with the specified integer value
|
static SoDepthBufferElement.DepthWriteFunctions |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SoDepthBufferElement.DepthWriteFunctions[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SoDepthBufferElement.DepthWriteFunctions NEVER
public static final SoDepthBufferElement.DepthWriteFunctions LESS
public static final SoDepthBufferElement.DepthWriteFunctions EQUAL
public static final SoDepthBufferElement.DepthWriteFunctions LEQUAL
public static final SoDepthBufferElement.DepthWriteFunctions GREATER
public static final SoDepthBufferElement.DepthWriteFunctions NOTEQUAL
public static final SoDepthBufferElement.DepthWriteFunctions GEQUAL
public static final SoDepthBufferElement.DepthWriteFunctions ALWAYS
public static SoDepthBufferElement.DepthWriteFunctions[] values()
for (SoDepthBufferElement.DepthWriteFunctions c : SoDepthBufferElement.DepthWriteFunctions.values()) System.out.println(c);
public static SoDepthBufferElement.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 SoDepthBufferElement.DepthWriteFunctions fromValue(int val)
valueOf(int)
instead.public static SoDepthBufferElement.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