Enum Class SceneFlag

java.lang.Object
java.lang.Enum<SceneFlag>
com.ijurnove.cpu3d.SceneFlag
All Implemented Interfaces:
Serializable, Comparable<SceneFlag>, Constable

public enum SceneFlag extends Enum<SceneFlag>
SceneFlag values are used as keys in SceneFlags. Each flag has a corresponding value in each SceneFlags object.
  • Enum Constant Details

    • DO_BACKFACE_CULLING

      public static final SceneFlag 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

      public static final SceneFlag 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

      public static final SceneFlag DO_SHADOWS
      Enables or disables shadows. A value of 0 turns them off, and 1 turns them on.
      Default value of 1.
    • DO_LIGHTING

      public static final SceneFlag DO_LIGHTING
      Enables or disables lighting. A value of 0 turns it off, and 1 turns it on.
      Default value of 1.
    • WIREFRAME

      public static final SceneFlag WIREFRAME
      Enables or disables wireframe rendering. A value of 0 turns it off, and 1 turns it on.
      Default value of 0.
    • DISPLAY_LIGHTS

      public static final SceneFlag 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

      public static final SceneFlag GAMMA
      Controls the gamma correction value.
      Default value of 2.2.
  • Method Details

    • values

      public static SceneFlag[] 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

      public static SceneFlag valueOf(String name)
      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 name
      NullPointerException - if the argument is null