Enum Class NativeImage.InternalFormat

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

@Environment(CLIENT) public static enum NativeImage.InternalFormat extends Enum<NativeImage.InternalFormat>
Represents the internal formats sent to glTexImage2D, representing the number of color channels present in an image to prepare.
See Also:
Mappings:
Namespace Name
named net/minecraft/client/texture/NativeImage$InternalFormat
intermediary net/minecraft/class_1011$class_1013
official fev$b
  • Enum Constant Details Link icon

    • RGBA Link icon

      public static final NativeImage.InternalFormat RGBA
      Mappings:
      Namespace Name Mixin selector
      named RGBA Lnet/minecraft/client/texture/NativeImage$InternalFormat;RGBA:Lnet/minecraft/client/texture/NativeImage$InternalFormat;
      intermediary field_5012 Lnet/minecraft/class_1011$class_1013;field_5012:Lnet/minecraft/class_1011$class_1013;
      official a Lfev$b;a:Lfev$b;
    • RGB Link icon

      public static final NativeImage.InternalFormat RGB
      Mappings:
      Namespace Name Mixin selector
      named RGB Lnet/minecraft/client/texture/NativeImage$InternalFormat;RGB:Lnet/minecraft/client/texture/NativeImage$InternalFormat;
      intermediary field_5011 Lnet/minecraft/class_1011$class_1013;field_5011:Lnet/minecraft/class_1011$class_1013;
      official b Lfev$b;b:Lfev$b;
    • RG Link icon

      public static final NativeImage.InternalFormat RG
      Mappings:
      Namespace Name Mixin selector
      named RG Lnet/minecraft/client/texture/NativeImage$InternalFormat;RG:Lnet/minecraft/client/texture/NativeImage$InternalFormat;
      intermediary field_33618 Lnet/minecraft/class_1011$class_1013;field_33618:Lnet/minecraft/class_1011$class_1013;
      official c Lfev$b;c:Lfev$b;
    • RED Link icon

      public static final NativeImage.InternalFormat RED
      Mappings:
      Namespace Name Mixin selector
      named RED Lnet/minecraft/client/texture/NativeImage$InternalFormat;RED:Lnet/minecraft/client/texture/NativeImage$InternalFormat;
      intermediary field_33619 Lnet/minecraft/class_1011$class_1013;field_33619:Lnet/minecraft/class_1011$class_1013;
      official d Lfev$b;d:Lfev$b;
  • Field Details Link icon

    • value Link icon

      private final int value
      Mappings:
      Namespace Name Mixin selector
      named value Lnet/minecraft/client/texture/NativeImage$InternalFormat;value:I
      intermediary field_5015 Lnet/minecraft/class_1011$class_1013;field_5015:I
      official e Lfev$b;e:I
  • Constructor Details Link icon

    • InternalFormat Link icon

      private InternalFormat(int value)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/texture/NativeImage$InternalFormat;<init>(Ljava/lang/String;II)V
      intermediary <init> Lnet/minecraft/class_1011$class_1013;<init>(Ljava/lang/String;II)V
      official <init> Lfev$b;<init>(Ljava/lang/String;II)V
  • Method Details Link icon

    • values Link icon

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

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

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