Enum Class WriteMask

java.lang.Object
java.lang.Enum<WriteMask>
dev.engine_room.flywheel.api.material.WriteMask
All Implemented Interfaces:
Serializable, Comparable<WriteMask>, Constable

public enum WriteMask extends Enum<WriteMask>
  • Enum Constant Details

    • COLOR_DEPTH

      public static final WriteMask COLOR_DEPTH
      Write to both the color and depth buffers.
    • COLOR

      public static final WriteMask COLOR
      Write to the color buffer only.
    • DEPTH

      public static final WriteMask DEPTH
      Write to the depth buffer only.
  • Method Details

    • values

      public static WriteMask[] 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 WriteMask 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
    • color

      public boolean color()
    • depth

      public boolean depth()