Enum GlStateManager.Viewport

java.lang.Object
java.lang.Enum<GlStateManager.Viewport>
com.mojang.blaze3d.platform.GlStateManager.Viewport
All Implemented Interfaces:
Serializable, Comparable<GlStateManager.Viewport>, java.lang.constant.Constable
Enclosing class:
GlStateManager

@Environment(CLIENT)
public static enum GlStateManager.Viewport
extends Enum<GlStateManager.Viewport>
Mappings:
Namespace Name
official com/mojang/blaze3d/platform/GlStateManager$m
intermediary com/mojang/blaze3d/platform/GlStateManager$class_1040
named com/mojang/blaze3d/platform/GlStateManager$Viewport
  • Enum Constant Details

    • INSTANCE

      public static final GlStateManager.Viewport INSTANCE
      Mappings:
      Namespace Name Mixin selector
      official a Lcom/mojang/blaze3d/platform/GlStateManager$m;a:Lcom/mojang/blaze3d/platform/GlStateManager$m;
      intermediary field_5169 Lcom/mojang/blaze3d/platform/GlStateManager$class_1040;field_5169:Lcom/mojang/blaze3d/platform/GlStateManager$class_1040;
      named INSTANCE Lcom/mojang/blaze3d/platform/GlStateManager$Viewport;INSTANCE:Lcom/mojang/blaze3d/platform/GlStateManager$Viewport;
  • Field Details

    • x

      protected int x
      Mappings:
      Namespace Name Mixin selector
      official b Lcom/mojang/blaze3d/platform/GlStateManager$m;b:I
      intermediary field_5172 Lcom/mojang/blaze3d/platform/GlStateManager$class_1040;field_5172:I
      named x Lcom/mojang/blaze3d/platform/GlStateManager$Viewport;x:I
    • y

      protected int y
      Mappings:
      Namespace Name Mixin selector
      official c Lcom/mojang/blaze3d/platform/GlStateManager$m;c:I
      intermediary field_5171 Lcom/mojang/blaze3d/platform/GlStateManager$class_1040;field_5171:I
      named y Lcom/mojang/blaze3d/platform/GlStateManager$Viewport;y:I
    • width

      protected int width
      Mappings:
      Namespace Name Mixin selector
      official d Lcom/mojang/blaze3d/platform/GlStateManager$m;d:I
      intermediary field_5170 Lcom/mojang/blaze3d/platform/GlStateManager$class_1040;field_5170:I
      named width Lcom/mojang/blaze3d/platform/GlStateManager$Viewport;width:I
    • height

      protected int height
      Mappings:
      Namespace Name Mixin selector
      official e Lcom/mojang/blaze3d/platform/GlStateManager$m;e:I
      intermediary field_5168 Lcom/mojang/blaze3d/platform/GlStateManager$class_1040;field_5168:I
      named height Lcom/mojang/blaze3d/platform/GlStateManager$Viewport;height:I
  • Constructor Details

    • Viewport

      private Viewport()
  • Method Details

    • values

      public static GlStateManager.Viewport[] 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

      public static GlStateManager.Viewport valueOf​(String name)
      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 name
      NullPointerException - if the argument is null
    • method_35330

      public static int method_35330()
      Mappings:
      Namespace Name Mixin selector
      official a Lcom/mojang/blaze3d/platform/GlStateManager$m;a()I
      intermediary method_35330 Lcom/mojang/blaze3d/platform/GlStateManager$class_1040;method_35330()I
      named method_35330 Lcom/mojang/blaze3d/platform/GlStateManager$Viewport;method_35330()I
    • method_35331

      public static int method_35331()
      Mappings:
      Namespace Name Mixin selector
      official b Lcom/mojang/blaze3d/platform/GlStateManager$m;b()I
      intermediary method_35331 Lcom/mojang/blaze3d/platform/GlStateManager$class_1040;method_35331()I
      named method_35331 Lcom/mojang/blaze3d/platform/GlStateManager$Viewport;method_35331()I
    • method_35332

      public static int method_35332()
      Mappings:
      Namespace Name Mixin selector
      official c Lcom/mojang/blaze3d/platform/GlStateManager$m;c()I
      intermediary method_35332 Lcom/mojang/blaze3d/platform/GlStateManager$class_1040;method_35332()I
      named method_35332 Lcom/mojang/blaze3d/platform/GlStateManager$Viewport;method_35332()I
    • method_35333

      public static int method_35333()
      Mappings:
      Namespace Name Mixin selector
      official d Lcom/mojang/blaze3d/platform/GlStateManager$m;d()I
      intermediary method_35333 Lcom/mojang/blaze3d/platform/GlStateManager$class_1040;method_35333()I
      named method_35333 Lcom/mojang/blaze3d/platform/GlStateManager$Viewport;method_35333()I