枚举 VertexFormatElement.Format

    • 枚举常量详细资料

      • FLOAT

        public static final VertexFormatElement.Format FLOAT
        Mappings:
        Namespace Name Mixin selector
        official a Ldpo$a;a:Ldpo$a;
        intermediary field_1623 Lnet/minecraft/class_296$class_297;field_1623:Lnet/minecraft/class_296$class_297;
        named FLOAT Lnet/minecraft/client/render/VertexFormatElement$Format;FLOAT:Lnet/minecraft/client/render/VertexFormatElement$Format;
      • UBYTE

        public static final VertexFormatElement.Format UBYTE
        Mappings:
        Namespace Name Mixin selector
        official b Ldpo$a;b:Ldpo$a;
        intermediary field_1624 Lnet/minecraft/class_296$class_297;field_1624:Lnet/minecraft/class_296$class_297;
        named UBYTE Lnet/minecraft/client/render/VertexFormatElement$Format;UBYTE:Lnet/minecraft/client/render/VertexFormatElement$Format;
      • BYTE

        public static final VertexFormatElement.Format BYTE
        Mappings:
        Namespace Name Mixin selector
        official c Ldpo$a;c:Ldpo$a;
        intermediary field_1621 Lnet/minecraft/class_296$class_297;field_1621:Lnet/minecraft/class_296$class_297;
        named BYTE Lnet/minecraft/client/render/VertexFormatElement$Format;BYTE:Lnet/minecraft/client/render/VertexFormatElement$Format;
      • USHORT

        public static final VertexFormatElement.Format USHORT
        Mappings:
        Namespace Name Mixin selector
        official d Ldpo$a;d:Ldpo$a;
        intermediary field_1622 Lnet/minecraft/class_296$class_297;field_1622:Lnet/minecraft/class_296$class_297;
        named USHORT Lnet/minecraft/client/render/VertexFormatElement$Format;USHORT:Lnet/minecraft/client/render/VertexFormatElement$Format;
      • SHORT

        public static final VertexFormatElement.Format SHORT
        Mappings:
        Namespace Name Mixin selector
        official e Ldpo$a;e:Ldpo$a;
        intermediary field_1625 Lnet/minecraft/class_296$class_297;field_1625:Lnet/minecraft/class_296$class_297;
        named SHORT Lnet/minecraft/client/render/VertexFormatElement$Format;SHORT:Lnet/minecraft/client/render/VertexFormatElement$Format;
      • UINT

        public static final VertexFormatElement.Format UINT
        Mappings:
        Namespace Name Mixin selector
        official f Ldpo$a;f:Ldpo$a;
        intermediary field_1619 Lnet/minecraft/class_296$class_297;field_1619:Lnet/minecraft/class_296$class_297;
        named UINT Lnet/minecraft/client/render/VertexFormatElement$Format;UINT:Lnet/minecraft/client/render/VertexFormatElement$Format;
      • INT

        public static final VertexFormatElement.Format INT
        Mappings:
        Namespace Name Mixin selector
        official g Ldpo$a;g:Ldpo$a;
        intermediary field_1617 Lnet/minecraft/class_296$class_297;field_1617:Lnet/minecraft/class_296$class_297;
        named INT Lnet/minecraft/client/render/VertexFormatElement$Format;INT:Lnet/minecraft/client/render/VertexFormatElement$Format;
    • 字段详细资料

      • size

        private final int size
        Mappings:
        Namespace Name Mixin selector
        official h Ldpo$a;h:I
        intermediary field_1618 Lnet/minecraft/class_296$class_297;field_1618:I
        named size Lnet/minecraft/client/render/VertexFormatElement$Format;size:I
      • name

        private final String name
        Mappings:
        Namespace Name Mixin selector
        official i Ldpo$a;i:Ljava/lang/String;
        intermediary field_1626 Lnet/minecraft/class_296$class_297;field_1626:Ljava/lang/String;
        named name Lnet/minecraft/client/render/VertexFormatElement$Format;name:Ljava/lang/String;
      • glId

        private final int glId
        Mappings:
        Namespace Name Mixin selector
        official j Ldpo$a;j:I
        intermediary field_1627 Lnet/minecraft/class_296$class_297;field_1627:I
        named glId Lnet/minecraft/client/render/VertexFormatElement$Format;glId:I
    • 构造器详细资料

      • Format

        private Format​(int size,
                       String name,
                       int glId)
        Mappings:
        Namespace Name Mixin selector
        official <init> Ldpo$a;<init>(Ljava/lang/String;IILjava/lang/String;I)V
        intermediary <init> Lnet/minecraft/class_296$class_297;<init>(Ljava/lang/String;IILjava/lang/String;I)V
        named <init> Lnet/minecraft/client/render/VertexFormatElement$Format;<init>(Ljava/lang/String;IILjava/lang/String;I)V
    • 方法详细资料

      • values

        public static VertexFormatElement.Format[] values()
        按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。该方法可用于迭代 常量, 如下所示:
        for (VertexFormatElement.Format c : VertexFormatElement.Format.values())
            System.out.println(c);
        
        返回:
        按照声明该枚举类型的常量的顺序返回的包含这些常量的数组
      • valueOf

        public static VertexFormatElement.Format valueOf​(String name)
        返回带有指定名称的该类型的枚举常量。 字符串必须与用于声明该类型的枚举常量的 标识符完全匹配。(不允许有多余 的空格字符。)
        参数:
        name - 要返回的枚举常量的名称。
        返回:
        返回带有指定名称的枚举常量
        抛出:
        IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量
        NullPointerException - 如果参数为空值
      • getSize

        public int getSize()
        Mappings:
        Namespace Name Mixin selector
        official a Ldpo$a;a()I
        intermediary method_1391 Lnet/minecraft/class_296$class_297;method_1391()I
        named getSize Lnet/minecraft/client/render/VertexFormatElement$Format;getSize()I
      • getName

        public String getName()
        Mappings:
        Namespace Name Mixin selector
        official b Ldpo$a;b()Ljava/lang/String;
        intermediary method_1389 Lnet/minecraft/class_296$class_297;method_1389()Ljava/lang/String;
        named getName Lnet/minecraft/client/render/VertexFormatElement$Format;getName()Ljava/lang/String;
      • getGlId

        public int getGlId()
        Mappings:
        Namespace Name Mixin selector
        official c Ldpo$a;c()I
        intermediary method_1390 Lnet/minecraft/class_296$class_297;method_1390()I
        named getGlId Lnet/minecraft/client/render/VertexFormatElement$Format;getGlId()I