Package net.minecraft.client.texture
Enum Class 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$InternalFormatintermediary net/minecraft/class_1011$class_1013official faj$b
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetValue()static NativeImage.InternalFormatReturns the enum constant of this class with the specified name.static NativeImage.InternalFormat[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
RGBA
- Mappings:
Namespace Name Mixin selector named RGBALnet/minecraft/client/texture/NativeImage$InternalFormat;RGBA:Lnet/minecraft/client/texture/NativeImage$InternalFormat;intermediary field_5012Lnet/minecraft/class_1011$class_1013;field_5012:Lnet/minecraft/class_1011$class_1013;official aLfaj$b;a:Lfaj$b;
-
RGB
- Mappings:
Namespace Name Mixin selector named RGBLnet/minecraft/client/texture/NativeImage$InternalFormat;RGB:Lnet/minecraft/client/texture/NativeImage$InternalFormat;intermediary field_5011Lnet/minecraft/class_1011$class_1013;field_5011:Lnet/minecraft/class_1011$class_1013;official bLfaj$b;b:Lfaj$b;
-
RG
- Mappings:
Namespace Name Mixin selector named RGLnet/minecraft/client/texture/NativeImage$InternalFormat;RG:Lnet/minecraft/client/texture/NativeImage$InternalFormat;intermediary field_33618Lnet/minecraft/class_1011$class_1013;field_33618:Lnet/minecraft/class_1011$class_1013;official cLfaj$b;c:Lfaj$b;
-
RED
- Mappings:
Namespace Name Mixin selector named REDLnet/minecraft/client/texture/NativeImage$InternalFormat;RED:Lnet/minecraft/client/texture/NativeImage$InternalFormat;intermediary field_33619Lnet/minecraft/class_1011$class_1013;field_33619:Lnet/minecraft/class_1011$class_1013;official dLfaj$b;d:Lfaj$b;
-
-
Field Details
-
value
private final int value- Mappings:
Namespace Name Mixin selector named valueLnet/minecraft/client/texture/NativeImage$InternalFormat;value:Iintermediary field_5015Lnet/minecraft/class_1011$class_1013;field_5015:Iofficial eLfaj$b;e:I
-
-
Constructor Details
-
InternalFormat
private InternalFormat(int value) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/texture/NativeImage$InternalFormat;<init>(Ljava/lang/String;II)Vintermediary <init>Lnet/minecraft/class_1011$class_1013;<init>(Ljava/lang/String;II)Vofficial <init>Lfaj$b;<init>(Ljava/lang/String;II)V
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getValue
public int getValue()- Mappings:
Namespace Name Mixin selector named getValueLnet/minecraft/client/texture/NativeImage$InternalFormat;getValue()Iintermediary method_4341Lnet/minecraft/class_1011$class_1013;method_4341()Iofficial aLfaj$b;a()I
-