枚举 NativeImage.GLFormat

    • 枚举常量详细资料

      • ABGR

        public static final NativeImage.GLFormat ABGR
        Mappings:
        Namespace Name Mixin selector
        official a Ldoj$b;a:Ldoj$b;
        intermediary field_5012 Lnet/minecraft/class_1011$class_1013;field_5012:Lnet/minecraft/class_1011$class_1013;
        named ABGR Lnet/minecraft/client/texture/NativeImage$GLFormat;ABGR:Lnet/minecraft/client/texture/NativeImage$GLFormat;
      • BGR

        public static final NativeImage.GLFormat BGR
        Mappings:
        Namespace Name Mixin selector
        official b Ldoj$b;b:Ldoj$b;
        intermediary field_5011 Lnet/minecraft/class_1011$class_1013;field_5011:Lnet/minecraft/class_1011$class_1013;
        named BGR Lnet/minecraft/client/texture/NativeImage$GLFormat;BGR:Lnet/minecraft/client/texture/NativeImage$GLFormat;
      • LUMINANCE_ALPHA

        public static final NativeImage.GLFormat LUMINANCE_ALPHA
        Mappings:
        Namespace Name Mixin selector
        official c Ldoj$b;c:Ldoj$b;
        intermediary field_5013 Lnet/minecraft/class_1011$class_1013;field_5013:Lnet/minecraft/class_1011$class_1013;
        named LUMINANCE_ALPHA Lnet/minecraft/client/texture/NativeImage$GLFormat;LUMINANCE_ALPHA:Lnet/minecraft/client/texture/NativeImage$GLFormat;
      • LUMINANCE

        public static final NativeImage.GLFormat LUMINANCE
        Mappings:
        Namespace Name Mixin selector
        official d Ldoj$b;d:Ldoj$b;
        intermediary field_5017 Lnet/minecraft/class_1011$class_1013;field_5017:Lnet/minecraft/class_1011$class_1013;
        named LUMINANCE Lnet/minecraft/client/texture/NativeImage$GLFormat;LUMINANCE:Lnet/minecraft/client/texture/NativeImage$GLFormat;
      • INTENSITY

        public static final NativeImage.GLFormat INTENSITY
        Mappings:
        Namespace Name Mixin selector
        official e Ldoj$b;e:Ldoj$b;
        intermediary field_5016 Lnet/minecraft/class_1011$class_1013;field_5016:Lnet/minecraft/class_1011$class_1013;
        named INTENSITY Lnet/minecraft/client/texture/NativeImage$GLFormat;INTENSITY:Lnet/minecraft/client/texture/NativeImage$GLFormat;
    • 字段详细资料

      • glConstant

        private final int glConstant
        Mappings:
        Namespace Name Mixin selector
        official f Ldoj$b;f:I
        intermediary field_5015 Lnet/minecraft/class_1011$class_1013;field_5015:I
        named glConstant Lnet/minecraft/client/texture/NativeImage$GLFormat;glConstant:I
    • 构造器详细资料

      • GLFormat

        private GLFormat​(int glConstant)
        Mappings:
        Namespace Name Mixin selector
        official <init> Ldoj$b;<init>(Ljava/lang/String;II)V
        intermediary <init> Lnet/minecraft/class_1011$class_1013;<init>(Ljava/lang/String;II)V
        named <init> Lnet/minecraft/client/texture/NativeImage$GLFormat;<init>(Ljava/lang/String;II)V
    • 方法详细资料

      • values

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

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

        public int getGlConstant()
        Mappings:
        Namespace Name Mixin selector
        official a Ldoj$b;a()I
        intermediary method_4341 Lnet/minecraft/class_1011$class_1013;method_4341()I
        named getGlConstant Lnet/minecraft/client/texture/NativeImage$GLFormat;getGlConstant()I