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$Viewport- intermediary - com/mojang/blaze3d/platform/GlStateManager$class_1040- official - com/mojang/blaze3d/platform/GlStateManager$n
- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum Constants
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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 - INSTANCE- Lcom/mojang/blaze3d/platform/GlStateManager$Viewport;INSTANCE:Lcom/mojang/blaze3d/platform/GlStateManager$Viewport;- intermediary - field_5169- Lcom/mojang/blaze3d/platform/GlStateManager$class_1040;field_5169:Lcom/mojang/blaze3d/platform/GlStateManager$class_1040;- official - a- Lcom/mojang/blaze3d/platform/GlStateManager$n;a:Lcom/mojang/blaze3d/platform/GlStateManager$n;
 
 
- 
- 
Field Details- 
xprotected int x- Mappings:
- Namespace - Name - Mixin selector - named - x- Lcom/mojang/blaze3d/platform/GlStateManager$Viewport;x:I- intermediary - field_5172- Lcom/mojang/blaze3d/platform/GlStateManager$class_1040;field_5172:I- official - b- Lcom/mojang/blaze3d/platform/GlStateManager$n;b:I
 
- 
yprotected int y- Mappings:
- Namespace - Name - Mixin selector - named - y- Lcom/mojang/blaze3d/platform/GlStateManager$Viewport;y:I- intermediary - field_5171- Lcom/mojang/blaze3d/platform/GlStateManager$class_1040;field_5171:I- official - c- Lcom/mojang/blaze3d/platform/GlStateManager$n;c:I
 
- 
widthprotected int width- Mappings:
- Namespace - Name - Mixin selector - named - width- Lcom/mojang/blaze3d/platform/GlStateManager$Viewport;width:I- intermediary - field_5170- Lcom/mojang/blaze3d/platform/GlStateManager$class_1040;field_5170:I- official - d- Lcom/mojang/blaze3d/platform/GlStateManager$n;d:I
 
- 
heightprotected int height- Mappings:
- Namespace - Name - Mixin selector - named - height- Lcom/mojang/blaze3d/platform/GlStateManager$Viewport;height:I- intermediary - field_5168- Lcom/mojang/blaze3d/platform/GlStateManager$class_1040;field_5168:I- official - e- Lcom/mojang/blaze3d/platform/GlStateManager$n;e:I
 
 
- 
- 
Constructor Details- 
Viewportprivate Viewport()
 
- 
- 
Method Details- 
valuesReturns 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
 
- 
valueOfReturns 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
 
- 
getXpublic static int getX()- Mappings:
- Namespace - Name - Mixin selector - named - getX- Lcom/mojang/blaze3d/platform/GlStateManager$Viewport;getX()I- intermediary - method_35330- Lcom/mojang/blaze3d/platform/GlStateManager$class_1040;method_35330()I- official - a- Lcom/mojang/blaze3d/platform/GlStateManager$n;a()I
 
- 
getYpublic static int getY()- Mappings:
- Namespace - Name - Mixin selector - named - getY- Lcom/mojang/blaze3d/platform/GlStateManager$Viewport;getY()I- intermediary - method_35331- Lcom/mojang/blaze3d/platform/GlStateManager$class_1040;method_35331()I- official - b- Lcom/mojang/blaze3d/platform/GlStateManager$n;b()I
 
- 
getWidthpublic static int getWidth()- Mappings:
- Namespace - Name - Mixin selector - named - getWidth- Lcom/mojang/blaze3d/platform/GlStateManager$Viewport;getWidth()I- intermediary - method_35332- Lcom/mojang/blaze3d/platform/GlStateManager$class_1040;method_35332()I- official - c- Lcom/mojang/blaze3d/platform/GlStateManager$n;c()I
 
- 
getHeightpublic static int getHeight()- Mappings:
- Namespace - Name - Mixin selector - named - getHeight- Lcom/mojang/blaze3d/platform/GlStateManager$Viewport;getHeight()I- intermediary - method_35333- Lcom/mojang/blaze3d/platform/GlStateManager$class_1040;method_35333()I- official - d- Lcom/mojang/blaze3d/platform/GlStateManager$n;d()I
 
 
-