Package com.mojang.blaze3d.platform
Enum Class GlStateManager.Viewport
- All Implemented Interfaces:
Serializable,Comparable<GlStateManager.Viewport>,Constable
- Enclosing class:
GlStateManager
@Environment(CLIENT)
public static enum GlStateManager.Viewport
extends Enum<GlStateManager.Viewport>
- Mappings:
Namespace Name named com/mojang/blaze3d/platform/GlStateManager$Viewportintermediary com/mojang/blaze3d/platform/GlStateManager$class_1040official com/mojang/blaze3d/platform/GlStateManager$m
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic intstatic intgetWidth()static intgetX()static intgetY()static GlStateManager.ViewportReturns the enum constant of this class with the specified name.static GlStateManager.Viewport[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INSTANCE
- Mappings:
Namespace Name Mixin selector named INSTANCELcom/mojang/blaze3d/platform/GlStateManager$Viewport;INSTANCE:Lcom/mojang/blaze3d/platform/GlStateManager$Viewport;intermediary field_5169Lcom/mojang/blaze3d/platform/GlStateManager$class_1040;field_5169:Lcom/mojang/blaze3d/platform/GlStateManager$class_1040;official aLcom/mojang/blaze3d/platform/GlStateManager$m;a:Lcom/mojang/blaze3d/platform/GlStateManager$m;
-
-
Field Details
-
x
protected int x- Mappings:
Namespace Name Mixin selector named xLcom/mojang/blaze3d/platform/GlStateManager$Viewport;x:Iintermediary field_5172Lcom/mojang/blaze3d/platform/GlStateManager$class_1040;field_5172:Iofficial bLcom/mojang/blaze3d/platform/GlStateManager$m;b:I
-
y
protected int y- Mappings:
Namespace Name Mixin selector named yLcom/mojang/blaze3d/platform/GlStateManager$Viewport;y:Iintermediary field_5171Lcom/mojang/blaze3d/platform/GlStateManager$class_1040;field_5171:Iofficial cLcom/mojang/blaze3d/platform/GlStateManager$m;c:I
-
width
protected int width- Mappings:
Namespace Name Mixin selector named widthLcom/mojang/blaze3d/platform/GlStateManager$Viewport;width:Iintermediary field_5170Lcom/mojang/blaze3d/platform/GlStateManager$class_1040;field_5170:Iofficial dLcom/mojang/blaze3d/platform/GlStateManager$m;d:I
-
height
protected int height- Mappings:
Namespace Name Mixin selector named heightLcom/mojang/blaze3d/platform/GlStateManager$Viewport;height:Iintermediary field_5168Lcom/mojang/blaze3d/platform/GlStateManager$class_1040;field_5168:Iofficial eLcom/mojang/blaze3d/platform/GlStateManager$m;e:I
-
-
Constructor Details
-
Viewport
private Viewport()
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getX
public static int getX()- Mappings:
Namespace Name Mixin selector named getXLcom/mojang/blaze3d/platform/GlStateManager$Viewport;getX()Iintermediary method_35330Lcom/mojang/blaze3d/platform/GlStateManager$class_1040;method_35330()Iofficial aLcom/mojang/blaze3d/platform/GlStateManager$m;a()I
-
getY
public static int getY()- Mappings:
Namespace Name Mixin selector named getYLcom/mojang/blaze3d/platform/GlStateManager$Viewport;getY()Iintermediary method_35331Lcom/mojang/blaze3d/platform/GlStateManager$class_1040;method_35331()Iofficial bLcom/mojang/blaze3d/platform/GlStateManager$m;b()I
-
getWidth
public static int getWidth()- Mappings:
Namespace Name Mixin selector named getWidthLcom/mojang/blaze3d/platform/GlStateManager$Viewport;getWidth()Iintermediary method_35332Lcom/mojang/blaze3d/platform/GlStateManager$class_1040;method_35332()Iofficial cLcom/mojang/blaze3d/platform/GlStateManager$m;c()I
-
getHeight
public static int getHeight()- Mappings:
Namespace Name Mixin selector named getHeightLcom/mojang/blaze3d/platform/GlStateManager$Viewport;getHeight()Iintermediary method_35333Lcom/mojang/blaze3d/platform/GlStateManager$class_1040;method_35333()Iofficial dLcom/mojang/blaze3d/platform/GlStateManager$m;d()I
-