枚举 GlStateManager.Viewport
- java.lang.Object
-
- java.lang.Enum<GlStateManager.Viewport>
-
- com.mojang.blaze3d.platform.GlStateManager.Viewport
-
- 所有已实现的接口:
Serializable,Comparable<GlStateManager.Viewport>
- 封闭类:
- 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
-
-
枚举常量概要
枚举常量 枚举常量 说明 INSTANCE
-
构造器概要
构造器 限定符 构造器 说明 privateViewport()
-
方法概要
所有方法 静态方法 具体方法 修饰符和类型 方法 说明 static intgetHeight()static intgetWidth()static intgetX()static intgetY()static GlStateManager.ViewportvalueOf(String name)返回带有指定名称的该类型的枚举常量。static GlStateManager.Viewport[]values()按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
-
-
-
枚举常量详细资料
-
INSTANCE
public static final GlStateManager.Viewport 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;
-
-
字段详细资料
-
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
-
-
方法详细资料
-
values
public static GlStateManager.Viewport[] values()
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。该方法可用于迭代 常量, 如下所示:for (GlStateManager.Viewport c : GlStateManager.Viewport.values()) System.out.println(c);
- 返回:
- 按照声明该枚举类型的常量的顺序返回的包含这些常量的数组
-
valueOf
public static GlStateManager.Viewport valueOf(String name)
返回带有指定名称的该类型的枚举常量。 字符串必须与用于声明该类型的枚举常量的 标识符完全匹配。(不允许有多余 的空格字符。)- 参数:
name- 要返回的枚举常量的名称。- 返回:
- 返回带有指定名称的枚举常量
- 抛出:
IllegalArgumentException- 如果该枚举类型没有带有指定名称的常量NullPointerException- 如果参数为空值
-
getX
public static int getX()
- 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 getXLcom/mojang/blaze3d/platform/GlStateManager$Viewport;getX()I
-
getY
public static int getY()
- 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 getYLcom/mojang/blaze3d/platform/GlStateManager$Viewport;getY()I
-
getWidth
public static int getWidth()
- 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 getWidthLcom/mojang/blaze3d/platform/GlStateManager$Viewport;getWidth()I
-
getHeight
public static int getHeight()
- 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 getHeightLcom/mojang/blaze3d/platform/GlStateManager$Viewport;getHeight()I
-
-