枚举 NativeImage.GLFormat
- java.lang.Object
-
- java.lang.Enum<NativeImage.GLFormat>
-
- net.minecraft.client.texture.NativeImage.GLFormat
-
- 所有已实现的接口:
Serializable,Comparable<NativeImage.GLFormat>
- 封闭类:
- NativeImage
@Environment(CLIENT) public static enum NativeImage.GLFormat extends Enum<NativeImage.GLFormat>
- Mappings:
Namespace Name official doj$bintermediary net/minecraft/class_1011$class_1013named net/minecraft/client/texture/NativeImage$GLFormat
-
-
枚举常量概要
枚举常量 枚举常量 说明 ABGRBGRINTENSITYLUMINANCELUMINANCE_ALPHA
-
字段概要
字段 修饰符和类型 字段 说明 private intglConstant
-
构造器概要
构造器 限定符 构造器 说明 privateGLFormat(int glConstant)
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 intgetGlConstant()static NativeImage.GLFormatvalueOf(String name)返回带有指定名称的该类型的枚举常量。static NativeImage.GLFormat[]values()按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
-
-
-
枚举常量详细资料
-
ABGR
public static final NativeImage.GLFormat ABGR
- Mappings:
Namespace Name Mixin selector official aLdoj$b;a:Ldoj$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
public static final NativeImage.GLFormat BGR
- Mappings:
Namespace Name Mixin selector official bLdoj$b;b:Ldoj$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
public static final NativeImage.GLFormat LUMINANCE_ALPHA
- Mappings:
Namespace Name Mixin selector official cLdoj$b;c:Ldoj$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
public static final NativeImage.GLFormat LUMINANCE
- Mappings:
Namespace Name Mixin selector official dLdoj$b;d:Ldoj$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
public static final NativeImage.GLFormat INTENSITY
- Mappings:
Namespace Name Mixin selector official eLdoj$b;e:Ldoj$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;
-
-
构造器详细资料
-
GLFormat
private GLFormat(int glConstant)
- Mappings:
Namespace Name Mixin selector official <init>Ldoj$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
-
-
方法详细资料
-
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 aLdoj$b;a()Iintermediary method_4341Lnet/minecraft/class_1011$class_1013;method_4341()Inamed getGlConstantLnet/minecraft/client/texture/NativeImage$GLFormat;getGlConstant()I
-
-