Package net.minecraft.client.texture
Enum NativeImage.GLFormat
- All Implemented Interfaces:
Serializable,Comparable<NativeImage.GLFormat>,java.lang.constant.Constable
- Enclosing class:
- NativeImage
- Mappings:
Namespace Name official dok$bintermediary net/minecraft/class_1011$class_1013named net/minecraft/client/texture/NativeImage$GLFormat
-
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 TypeMethodDescriptionintstatic NativeImage.GLFormatReturns the enum constant of this type with the specified name.static NativeImage.GLFormat[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ABGR
- Mappings:
Namespace Name Mixin selector official aLdok$b;a:Ldok$b;intermediary field_5012Lnet/minecraft/class_1011$class_1013;field_5012:Lnet/minecraft/class_1011$class_1013;named ABGRLnet/minecraft/client/texture/NativeImage$GLFormat;ABGR:Lnet/minecraft/client/texture/NativeImage$GLFormat;
-
BGR
- Mappings:
Namespace Name Mixin selector official bLdok$b;b:Ldok$b;intermediary field_5011Lnet/minecraft/class_1011$class_1013;field_5011:Lnet/minecraft/class_1011$class_1013;named BGRLnet/minecraft/client/texture/NativeImage$GLFormat;BGR:Lnet/minecraft/client/texture/NativeImage$GLFormat;
-
LUMINANCE_ALPHA
- Mappings:
Namespace Name Mixin selector official cLdok$b;c:Ldok$b;intermediary field_5013Lnet/minecraft/class_1011$class_1013;field_5013:Lnet/minecraft/class_1011$class_1013;named LUMINANCE_ALPHALnet/minecraft/client/texture/NativeImage$GLFormat;LUMINANCE_ALPHA:Lnet/minecraft/client/texture/NativeImage$GLFormat;
-
LUMINANCE
- Mappings:
Namespace Name Mixin selector official dLdok$b;d:Ldok$b;intermediary field_5017Lnet/minecraft/class_1011$class_1013;field_5017:Lnet/minecraft/class_1011$class_1013;named LUMINANCELnet/minecraft/client/texture/NativeImage$GLFormat;LUMINANCE:Lnet/minecraft/client/texture/NativeImage$GLFormat;
-
INTENSITY
- Mappings:
Namespace Name Mixin selector official eLdok$b;e:Ldok$b;intermediary field_5016Lnet/minecraft/class_1011$class_1013;field_5016:Lnet/minecraft/class_1011$class_1013;named INTENSITYLnet/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 fLdok$b;f:Iintermediary field_5015Lnet/minecraft/class_1011$class_1013;field_5015:Inamed glConstantLnet/minecraft/client/texture/NativeImage$GLFormat;glConstant:I
-
-
Constructor Details
-
GLFormat
private GLFormat(int glConstant)- Mappings:
Namespace Name Mixin selector official <init>Ldok$b;<init>(Ljava/lang/String;II)Vintermediary <init>Lnet/minecraft/class_1011$class_1013;<init>(Ljava/lang/String;II)Vnamed <init>Lnet/minecraft/client/texture/NativeImage$GLFormat;<init>(Ljava/lang/String;II)V
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getGlConstant
public int getGlConstant()- Mappings:
Namespace Name Mixin selector official aLdok$b;a()Iintermediary method_4341Lnet/minecraft/class_1011$class_1013;method_4341()Inamed getGlConstantLnet/minecraft/client/texture/NativeImage$GLFormat;getGlConstant()I
-