Enum NativeImage.GLFormat

java.lang.Object
java.lang.Enum<NativeImage.GLFormat>
net.minecraft.client.texture.NativeImage.GLFormat
All Implemented Interfaces:
Serializable, Comparable<NativeImage.GLFormat>, java.lang.constant.Constable
Enclosing class:
NativeImage

@Environment(CLIENT)
public static enum NativeImage.GLFormat
extends Enum<NativeImage.GLFormat>
Mappings:
Namespace Name
official dky$b
intermediary net/minecraft/class_1011$class_1013
named net/minecraft/client/texture/NativeImage$GLFormat
  • Enum Constant Details

    • ABGR

      public static final NativeImage.GLFormat ABGR
      Mappings:
      Namespace Name Mixin selector
      official a Ldky$b;a:Ldky$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 Ldky$b;b:Ldky$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 Ldky$b;c:Ldky$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 Ldky$b;d:Ldky$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 Ldky$b;e:Ldky$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;
  • Field Details

    • glConstant

      private final int glConstant
      Mappings:
      Namespace Name Mixin selector
      official f Ldky$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
  • Constructor Details

    • GLFormat

      private GLFormat​(int glConstant)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldky$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
  • Method Details

    • values

      public static NativeImage.GLFormat[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static NativeImage.GLFormat valueOf​(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null
    • getGlConstant

      int getGlConstant()
      Mappings:
      Namespace Name Mixin selector
      official a Ldky$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