Package com.ijurnove.cpu3d
Enum Class SceneFlag
- All Implemented Interfaces:
Serializable,Comparable<SceneFlag>,Constable
SceneFlag values are used as keys in SceneFlags. Each flag has a corresponding value in each SceneFlags object.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionEnables or disables displaying point lights with an icon.Enables or disables backface culling.Enables or disables backface culling.Enables or disables lighting.Enables or disables shadows.Controls the gamma correction value.Enables or disables wireframe rendering. -
Method Summary
-
Enum Constant Details
-
DO_BACKFACE_CULLING
Enables or disables backface culling. A value of 0 turns it off, and 1 turns it on.
Default value of 1. -
DO_GAMMA_CORRECTION
Enables or disables backface culling. A value of 0 turns it off, and 1 turns it on.
Default value of 1. -
DO_SHADOWS
Enables or disables shadows. A value of 0 turns them off, and 1 turns them on.
Default value of 1. -
DO_LIGHTING
Enables or disables lighting. A value of 0 turns it off, and 1 turns it on.
Default value of 1. -
WIREFRAME
Enables or disables wireframe rendering. A value of 0 turns it off, and 1 turns it on.
Default value of 0. -
DISPLAY_LIGHTS
Enables or disables displaying point lights with an icon. A value of 0 turns it off, and 1 turns it on.
Default value of 0. -
GAMMA
Controls the gamma correction value.
Default value of 2.2.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-