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 dkr$y
intermediary net/minecraft/class_4493$class_1040
named 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 private
Viewport()
-
Method Summary
Modifier and Type Method Description static GlStateManager.Viewport
valueOf(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 a
Ldkr$y;a:Ldkr$y;
intermediary field_5169
Lnet/minecraft/class_4493$class_1040;field_5169:Lnet/minecraft/class_4493$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
Ldkr$y;b:I
intermediary field_5172
Lnet/minecraft/class_4493$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
Ldkr$y;c:I
intermediary field_5171
Lnet/minecraft/class_4493$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
Ldkr$y;d:I
intermediary field_5170
Lnet/minecraft/class_4493$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
Ldkr$y;e:I
intermediary field_5168
Lnet/minecraft/class_4493$class_1040;field_5168:I
named height
Lcom/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
-