枚举 VertexFormat.DrawMode
- java.lang.Object
-
- java.lang.Enum<VertexFormat.DrawMode>
-
- net.minecraft.client.render.VertexFormat.DrawMode
-
- 所有已实现的接口:
Serializable,Comparable<VertexFormat.DrawMode>
- 封闭类:
- VertexFormat
@Environment(CLIENT) public static enum VertexFormat.DrawMode extends Enum<VertexFormat.DrawMode>
- Mappings:
Namespace Name official dpn$bintermediary net/minecraft/class_293$class_5596named net/minecraft/client/render/VertexFormat$DrawMode
-
-
枚举常量概要
枚举常量 枚举常量 说明 DEBUG_LINE_STRIPDEBUG_LINESLINE_STRIPLINESQUADSTRIANGLE_FANTRIANGLE_STRIPTRIANGLES
-
字段概要
字段 修饰符和类型 字段 说明 intfield_27384intfield_27385intmode
-
构造器概要
构造器 限定符 构造器 说明 privateDrawMode(int mode, int int2, int int3)
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 intgetSize(int vertexCount)static VertexFormat.DrawModevalueOf(String name)返回带有指定名称的该类型的枚举常量。static VertexFormat.DrawMode[]values()按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
-
-
-
枚举常量详细资料
-
LINES
public static final VertexFormat.DrawMode LINES
- Mappings:
Namespace Name Mixin selector official aLdpn$b;a:Ldpn$b;intermediary field_27377Lnet/minecraft/class_293$class_5596;field_27377:Lnet/minecraft/class_293$class_5596;named LINESLnet/minecraft/client/render/VertexFormat$DrawMode;LINES:Lnet/minecraft/client/render/VertexFormat$DrawMode;
-
LINE_STRIP
public static final VertexFormat.DrawMode LINE_STRIP
- Mappings:
Namespace Name Mixin selector official bLdpn$b;b:Ldpn$b;intermediary field_27378Lnet/minecraft/class_293$class_5596;field_27378:Lnet/minecraft/class_293$class_5596;named LINE_STRIPLnet/minecraft/client/render/VertexFormat$DrawMode;LINE_STRIP:Lnet/minecraft/client/render/VertexFormat$DrawMode;
-
DEBUG_LINES
public static final VertexFormat.DrawMode DEBUG_LINES
- Mappings:
Namespace Name Mixin selector official cLdpn$b;c:Ldpn$b;intermediary field_29344Lnet/minecraft/class_293$class_5596;field_29344:Lnet/minecraft/class_293$class_5596;named DEBUG_LINESLnet/minecraft/client/render/VertexFormat$DrawMode;DEBUG_LINES:Lnet/minecraft/client/render/VertexFormat$DrawMode;
-
DEBUG_LINE_STRIP
public static final VertexFormat.DrawMode DEBUG_LINE_STRIP
- Mappings:
Namespace Name Mixin selector official dLdpn$b;d:Ldpn$b;intermediary field_29345Lnet/minecraft/class_293$class_5596;field_29345:Lnet/minecraft/class_293$class_5596;named DEBUG_LINE_STRIPLnet/minecraft/client/render/VertexFormat$DrawMode;DEBUG_LINE_STRIP:Lnet/minecraft/client/render/VertexFormat$DrawMode;
-
TRIANGLES
public static final VertexFormat.DrawMode TRIANGLES
- Mappings:
Namespace Name Mixin selector official eLdpn$b;e:Ldpn$b;intermediary field_27379Lnet/minecraft/class_293$class_5596;field_27379:Lnet/minecraft/class_293$class_5596;named TRIANGLESLnet/minecraft/client/render/VertexFormat$DrawMode;TRIANGLES:Lnet/minecraft/client/render/VertexFormat$DrawMode;
-
TRIANGLE_STRIP
public static final VertexFormat.DrawMode TRIANGLE_STRIP
- Mappings:
Namespace Name Mixin selector official fLdpn$b;f:Ldpn$b;intermediary field_27380Lnet/minecraft/class_293$class_5596;field_27380:Lnet/minecraft/class_293$class_5596;named TRIANGLE_STRIPLnet/minecraft/client/render/VertexFormat$DrawMode;TRIANGLE_STRIP:Lnet/minecraft/client/render/VertexFormat$DrawMode;
-
TRIANGLE_FAN
public static final VertexFormat.DrawMode TRIANGLE_FAN
- Mappings:
Namespace Name Mixin selector official gLdpn$b;g:Ldpn$b;intermediary field_27381Lnet/minecraft/class_293$class_5596;field_27381:Lnet/minecraft/class_293$class_5596;named TRIANGLE_FANLnet/minecraft/client/render/VertexFormat$DrawMode;TRIANGLE_FAN:Lnet/minecraft/client/render/VertexFormat$DrawMode;
-
QUADS
public static final VertexFormat.DrawMode QUADS
- Mappings:
Namespace Name Mixin selector official hLdpn$b;h:Ldpn$b;intermediary field_27382Lnet/minecraft/class_293$class_5596;field_27382:Lnet/minecraft/class_293$class_5596;named QUADSLnet/minecraft/client/render/VertexFormat$DrawMode;QUADS:Lnet/minecraft/client/render/VertexFormat$DrawMode;
-
-
字段详细资料
-
mode
public final int mode
- Mappings:
Namespace Name Mixin selector official iLdpn$b;i:Iintermediary field_27383Lnet/minecraft/class_293$class_5596;field_27383:Inamed modeLnet/minecraft/client/render/VertexFormat$DrawMode;mode:I
-
field_27384
public final int field_27384
- Mappings:
Namespace Name Mixin selector official jLdpn$b;j:Iintermediary field_27384Lnet/minecraft/class_293$class_5596;field_27384:Inamed field_27384Lnet/minecraft/client/render/VertexFormat$DrawMode;field_27384:I
-
field_27385
public final int field_27385
- Mappings:
Namespace Name Mixin selector official kLdpn$b;k:Iintermediary field_27385Lnet/minecraft/class_293$class_5596;field_27385:Inamed field_27385Lnet/minecraft/client/render/VertexFormat$DrawMode;field_27385:I
-
-
构造器详细资料
-
DrawMode
private DrawMode(int mode, int int2, int int3)- Mappings:
Namespace Name Mixin selector official <init>Ldpn$b;<init>(Ljava/lang/String;IIII)Vintermediary <init>Lnet/minecraft/class_293$class_5596;<init>(Ljava/lang/String;IIII)Vnamed <init>Lnet/minecraft/client/render/VertexFormat$DrawMode;<init>(Ljava/lang/String;IIII)V
-
-
方法详细资料
-
values
public static VertexFormat.DrawMode[] values()
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。该方法可用于迭代 常量, 如下所示:for (VertexFormat.DrawMode c : VertexFormat.DrawMode.values()) System.out.println(c);
- 返回:
- 按照声明该枚举类型的常量的顺序返回的包含这些常量的数组
-
valueOf
public static VertexFormat.DrawMode valueOf(String name)
返回带有指定名称的该类型的枚举常量。 字符串必须与用于声明该类型的枚举常量的 标识符完全匹配。(不允许有多余 的空格字符。)- 参数:
name- 要返回的枚举常量的名称。- 返回:
- 返回带有指定名称的枚举常量
- 抛出:
IllegalArgumentException- 如果该枚举类型没有带有指定名称的常量NullPointerException- 如果参数为空值
-
getSize
public int getSize(int vertexCount)
- Mappings:
Namespace Name Mixin selector official aLdpn$b;a(I)Iintermediary method_31973Lnet/minecraft/class_293$class_5596;method_31973(I)Inamed getSizeLnet/minecraft/client/render/VertexFormat$DrawMode;getSize(I)I
-
-