Package net.minecraft.client.gl
Enum Class GlShader.Type
- All Implemented Interfaces:
Serializable,Comparable<GlShader.Type>,Constable
- Enclosing class:
- GlShader
- Mappings:
Namespace Name official byj$aintermediary net/minecraft/class_1874$class_1875named 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
Enum Constants -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate Stringprivate intgetName()static GlShader.TypeReturns the enum constant of this class with the specified name.static GlShader.Type[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
VERTEX
- Mappings:
Namespace Name Mixin selector official aLbyj$a;a:Lbyj$a;intermediary field_8061Lnet/minecraft/class_1874$class_1875;field_8061:Lnet/minecraft/class_1874$class_1875;named VERTEXLnet/minecraft/client/gl/GlShader$Type;VERTEX:Lnet/minecraft/client/gl/GlShader$Type;
-
FRAGMENT
- Mappings:
Namespace Name Mixin selector official bLbyj$a;b:Lbyj$a;intermediary field_8062Lnet/minecraft/class_1874$class_1875;field_8062:Lnet/minecraft/class_1874$class_1875;named FRAGMENTLnet/minecraft/client/gl/GlShader$Type;FRAGMENT:Lnet/minecraft/client/gl/GlShader$Type;
-
-
Field Details
-
name
- Mappings:
Namespace Name Mixin selector official cLbyj$a;c:Ljava/lang/String;intermediary field_8063Lnet/minecraft/class_1874$class_1875;field_8063:Ljava/lang/String;named nameLnet/minecraft/client/gl/GlShader$Type;name:Ljava/lang/String;
-
fileExtension
- Mappings:
Namespace Name Mixin selector official dLbyj$a;d:Ljava/lang/String;intermediary field_8064Lnet/minecraft/class_1874$class_1875;field_8064: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 eLbyj$a;e:Iintermediary field_8065Lnet/minecraft/class_1874$class_1875;field_8065:Inamed glTypeLnet/minecraft/client/gl/GlShader$Type;glType:I
-
loadedShaders
- Mappings:
Namespace Name Mixin selector official fLbyj$a;f:Ljava/util/Map;intermediary field_8066Lnet/minecraft/class_1874$class_1875;field_8066:Ljava/util/Map;named loadedShadersLnet/minecraft/client/gl/GlShader$Type;loadedShaders:Ljava/util/Map;
-
-
Constructor Details
-
Type
- Mappings:
Namespace Name Mixin selector official <init>Lbyj$a;<init>(Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;I)Vintermediary <init>Lnet/minecraft/class_1874$class_1875;<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 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
-
getName
- Mappings:
Namespace Name Mixin selector official aLbyj$a;a()Ljava/lang/String;intermediary method_6966Lnet/minecraft/class_1874$class_1875;method_6966()Ljava/lang/String;named getNameLnet/minecraft/client/gl/GlShader$Type;getName()Ljava/lang/String;
-
getFileExtension
- Mappings:
Namespace Name Mixin selector official bLbyj$a;b()Ljava/lang/String;intermediary method_6967Lnet/minecraft/class_1874$class_1875;method_6967()Ljava/lang/String;named getFileExtensionLnet/minecraft/client/gl/GlShader$Type;getFileExtension()Ljava/lang/String;
-
getGlType
private int getGlType()- Mappings:
Namespace Name Mixin selector official cLbyj$a;c()Iintermediary method_6968Lnet/minecraft/class_1874$class_1875;method_6968()Inamed getGlTypeLnet/minecraft/client/gl/GlShader$Type;getGlType()I
-
getLoadedShaders
- Mappings:
Namespace Name Mixin selector official dLbyj$a;d()Ljava/util/Map;intermediary method_6969Lnet/minecraft/class_1874$class_1875;method_6969()Ljava/util/Map;named getLoadedShadersLnet/minecraft/client/gl/GlShader$Type;getLoadedShaders()Ljava/util/Map;
-