Enum Class StencilEnableTest.State

java.lang.Object
java.lang.Enum<StencilEnableTest.State>
net.neoforged.neoforge.oldtest.client.rendering.StencilEnableTest.State
All Implemented Interfaces:
Serializable, Comparable<StencilEnableTest.State>, Constable
Enclosing class:
StencilEnableTest

private static enum StencilEnableTest.State extends Enum<StencilEnableTest.State>
  • Enum Constant Details

    • DISABLE

      public static final StencilEnableTest.State DISABLE
    • ENABLE_REGISTRATION

      public static final StencilEnableTest.State ENABLE_REGISTRATION
      Enables stencil buffer, but does not perform any rendering with stencil.
    • ENABLE_UI_LAYER

      public static final StencilEnableTest.State ENABLE_UI_LAYER
      Enables stencil buffer, and renders an overlay using stencil.
  • Constructor Details

    • State

      private State()
  • Method Details

    • values

      public static StencilEnableTest.State[] 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 StencilEnableTest.State 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