Package com.mojang.blaze3d.platform
Enum 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$mintermediary com/mojang/blaze3d/platform/GlStateManager$class_1040named com/mojang/blaze3d/platform/GlStateManager$Viewport
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants Enum Constant Description INSTANCE -
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description privateViewport() -
Method Summary
Modifier and Type Method Description static intmethod_35330()static intmethod_35331()static intmethod_35332()static intmethod_35333()static GlStateManager.ViewportvalueOf(String name)Returns the enum constant of this type with the specified name.static GlStateManager.Viewport[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
INSTANCE
- Mappings:
Namespace Name Mixin selector official aLcom/mojang/blaze3d/platform/GlStateManager$m;a:Lcom/mojang/blaze3d/platform/GlStateManager$m;intermediary field_5169Lcom/mojang/blaze3d/platform/GlStateManager$class_1040;field_5169:Lcom/mojang/blaze3d/platform/GlStateManager$class_1040;named INSTANCELcom/mojang/blaze3d/platform/GlStateManager$Viewport;INSTANCE:Lcom/mojang/blaze3d/platform/GlStateManager$Viewport;
-
-
Field Details
-
x
protected int x- Mappings:
Namespace Name Mixin selector official bLcom/mojang/blaze3d/platform/GlStateManager$m;b:Iintermediary field_5172Lcom/mojang/blaze3d/platform/GlStateManager$class_1040;field_5172:Inamed xLcom/mojang/blaze3d/platform/GlStateManager$Viewport;x:I
-
y
protected int y- Mappings:
Namespace Name Mixin selector official cLcom/mojang/blaze3d/platform/GlStateManager$m;c:Iintermediary field_5171Lcom/mojang/blaze3d/platform/GlStateManager$class_1040;field_5171:Inamed yLcom/mojang/blaze3d/platform/GlStateManager$Viewport;y:I
-
width
protected int width- Mappings:
Namespace Name Mixin selector official dLcom/mojang/blaze3d/platform/GlStateManager$m;d:Iintermediary field_5170Lcom/mojang/blaze3d/platform/GlStateManager$class_1040;field_5170:Inamed widthLcom/mojang/blaze3d/platform/GlStateManager$Viewport;width:I
-
height
protected int height- Mappings:
Namespace Name Mixin selector official eLcom/mojang/blaze3d/platform/GlStateManager$m;e:Iintermediary field_5168Lcom/mojang/blaze3d/platform/GlStateManager$class_1040;field_5168:Inamed heightLcom/mojang/blaze3d/platform/GlStateManager$Viewport;height:I
-
-
Constructor Details
-
Viewport
private Viewport()
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
method_35330
public static int method_35330()- Mappings:
Namespace Name Mixin selector official aLcom/mojang/blaze3d/platform/GlStateManager$m;a()Iintermediary method_35330Lcom/mojang/blaze3d/platform/GlStateManager$class_1040;method_35330()Inamed method_35330Lcom/mojang/blaze3d/platform/GlStateManager$Viewport;method_35330()I
-
method_35331
public static int method_35331()- Mappings:
Namespace Name Mixin selector official bLcom/mojang/blaze3d/platform/GlStateManager$m;b()Iintermediary method_35331Lcom/mojang/blaze3d/platform/GlStateManager$class_1040;method_35331()Inamed method_35331Lcom/mojang/blaze3d/platform/GlStateManager$Viewport;method_35331()I
-
method_35332
public static int method_35332()- Mappings:
Namespace Name Mixin selector official cLcom/mojang/blaze3d/platform/GlStateManager$m;c()Iintermediary method_35332Lcom/mojang/blaze3d/platform/GlStateManager$class_1040;method_35332()Inamed method_35332Lcom/mojang/blaze3d/platform/GlStateManager$Viewport;method_35332()I
-
method_35333
public static int method_35333()- Mappings:
Namespace Name Mixin selector official dLcom/mojang/blaze3d/platform/GlStateManager$m;d()Iintermediary method_35333Lcom/mojang/blaze3d/platform/GlStateManager$class_1040;method_35333()Inamed method_35333Lcom/mojang/blaze3d/platform/GlStateManager$Viewport;method_35333()I
-