Enum PeelingMethod
- All Implemented Interfaces:
Serializable
,Comparable<PeelingMethod>
,java.lang.constant.Constable
Status of peeling methods on {macOS 10.12 + NVidia GPU} {Ubuntu 20.04 + Intel Iris GPU}
- OK - F2B_PEELING_MODE
- OK - DUAL_PEELING_MODE
- OK - WEIGHTED_AVERAGE_MODE
- KO - WEIGHTED_SUM_MODE : no compilation problem BUT overlapping parts (translucent or opaque) are black
- OK - DUAL_PEELING_MODE
- KO - WEIGHTED_AVERAGE_MODE : renders correctly BUT make opaque object appear translucent (e.g. the blue cube of this demo)
- KO - WEIGHTED_SUM_MODE : no compilation problem BUT overlapping parts (translucent or opaque) are black
- KO - F2B_PEELING_MODE : Hangs before display (reproduce with chart.get
- Author:
- martin
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic PeelingMethod
Returns the enum constant of this type with the specified name.static PeelingMethod[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
DUAL_PEELING_MODE
-
F2B_PEELING_MODE
-
WEIGHTED_AVERAGE_MODE
-
WEIGHTED_SUM_MODE
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-