Package net.minecraft.client.gl
Enum GlShader.Type
- All Implemented Interfaces:
Serializable,Comparable<GlShader.Type>,java.lang.constant.Constable
- Enclosing class:
- GlShader
@Environment(CLIENT) public static enum GlShader.Type extends Enum<GlShader.Type>
- Mappings:
Namespace Name official blt$aintermediary net/minecraft/class_1214$class_1215named net/minecraft/client/gl/GlShader$Type
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
-
Field Summary
Fields Modifier and Type Field Description private StringfileExtensionprivate intglTypeprivate Map<String,GlShader>loadedShadersprivate Stringname -
Constructor Summary
-
Method Summary
Modifier and Type Method Description protected StringgetFileExtension()protected intgetGlType()protected Map<String,GlShader>getLoadedShaders()StringgetName()static GlShader.TypevalueOf(String name)Returns the enum constant of this type with the specified name.static GlShader.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
VERTEX
- Mappings:
Namespace Name Mixin selector official aLblt$a;a:Lblt$a;intermediary field_5049Lnet/minecraft/class_1214$class_1215;field_5049:Lnet/minecraft/class_1214$class_1215;named VERTEXLnet/minecraft/client/gl/GlShader$Type;VERTEX:Lnet/minecraft/client/gl/GlShader$Type;
-
FRAGMENT
- Mappings:
Namespace Name Mixin selector official bLblt$a;b:Lblt$a;intermediary field_5050Lnet/minecraft/class_1214$class_1215;field_5050:Lnet/minecraft/class_1214$class_1215;named FRAGMENTLnet/minecraft/client/gl/GlShader$Type;FRAGMENT:Lnet/minecraft/client/gl/GlShader$Type;
-
-
Field Details
-
name
- Mappings:
Namespace Name Mixin selector official cLblt$a;c:Ljava/lang/String;intermediary field_5051Lnet/minecraft/class_1214$class_1215;field_5051:Ljava/lang/String;named nameLnet/minecraft/client/gl/GlShader$Type;name:Ljava/lang/String;
-
fileExtension
- Mappings:
Namespace Name Mixin selector official dLblt$a;d:Ljava/lang/String;intermediary field_5052Lnet/minecraft/class_1214$class_1215;field_5052:Ljava/lang/String;named fileExtensionLnet/minecraft/client/gl/GlShader$Type;fileExtension:Ljava/lang/String;
-
glType
private final int glType- Mappings:
Namespace Name Mixin selector official eLblt$a;e:Iintermediary field_5053Lnet/minecraft/class_1214$class_1215;field_5053:Inamed glTypeLnet/minecraft/client/gl/GlShader$Type;glType:I
-
loadedShaders
- Mappings:
Namespace Name Mixin selector official fLblt$a;f:Ljava/util/Map;intermediary field_5054Lnet/minecraft/class_1214$class_1215;field_5054:Ljava/util/Map;named loadedShadersLnet/minecraft/client/gl/GlShader$Type;loadedShaders:Ljava/util/Map;
-
-
Constructor Details
-
Type
- Mappings:
Namespace Name Mixin selector official <init>Lblt$a;<init>(Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;I)Vintermediary <init>Lnet/minecraft/class_1214$class_1215;<init>(Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;I)Vnamed <init>Lnet/minecraft/client/gl/GlShader$Type;<init>(Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;I)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
-
getName
- Mappings:
Namespace Name Mixin selector official aLblt$a;a()Ljava/lang/String;intermediary method_4167Lnet/minecraft/class_1214$class_1215;method_4167()Ljava/lang/String;named getNameLnet/minecraft/client/gl/GlShader$Type;getName()Ljava/lang/String;
-
getFileExtension
- Mappings:
Namespace Name Mixin selector official bLblt$a;b()Ljava/lang/String;intermediary method_4168Lnet/minecraft/class_1214$class_1215;method_4168()Ljava/lang/String;named getFileExtensionLnet/minecraft/client/gl/GlShader$Type;getFileExtension()Ljava/lang/String;
-
getGlType
protected int getGlType()- Mappings:
Namespace Name Mixin selector official cLblt$a;c()Iintermediary method_4169Lnet/minecraft/class_1214$class_1215;method_4169()Inamed getGlTypeLnet/minecraft/client/gl/GlShader$Type;getGlType()I
-
getLoadedShaders
- Mappings:
Namespace Name Mixin selector official dLblt$a;d()Ljava/util/Map;intermediary method_4170Lnet/minecraft/class_1214$class_1215;method_4170()Ljava/util/Map;named getLoadedShadersLnet/minecraft/client/gl/GlShader$Type;getLoadedShaders()Ljava/util/Map;
-