Package net.minecraft.client.gl
Enum Class ShaderType
- All Implemented Interfaces:
Serializable,Comparable<ShaderType>,Constable
Whether a vertex shader or a fragment shader.
- Mappings:
Namespace Name named net/minecraft/client/gl/ShaderTypeintermediary net/minecraft/class_282official fky
-
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
FieldsModifier and TypeFieldDescriptionprivate final Stringprivate final Stringprivate static final ShaderType[] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable ShaderTypefromId(Identifier id) getName()static ShaderTypeReturns the enum constant of this class with the specified name.static ShaderType[]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 named VERTEXLnet/minecraft/client/gl/ShaderType;VERTEX:Lnet/minecraft/client/gl/ShaderType;intermediary field_1530Lnet/minecraft/class_282;field_1530:Lnet/minecraft/class_282;official aLfky;a:Lfky;
-
FRAGMENT
- Mappings:
Namespace Name Mixin selector named FRAGMENTLnet/minecraft/client/gl/ShaderType;FRAGMENT:Lnet/minecraft/client/gl/ShaderType;intermediary field_1531Lnet/minecraft/class_282;field_1531:Lnet/minecraft/class_282;official bLfky;b:Lfky;
-
-
Field Details
-
VALUES
- Mappings:
Namespace Name Mixin selector named VALUESLnet/minecraft/client/gl/ShaderType;VALUES:[Lnet/minecraft/client/gl/ShaderType;intermediary field_53830Lnet/minecraft/class_282;field_53830:[Lnet/minecraft/class_282;official cLfky;c:[Lfky;
-
name
- Mappings:
Namespace Name Mixin selector named nameLnet/minecraft/client/gl/ShaderType;name:Ljava/lang/String;intermediary field_1526Lnet/minecraft/class_282;field_1526:Ljava/lang/String;official dLfky;d:Ljava/lang/String;
-
fileExtension
- Mappings:
Namespace Name Mixin selector named fileExtensionLnet/minecraft/client/gl/ShaderType;fileExtension:Ljava/lang/String;intermediary field_1528Lnet/minecraft/class_282;field_1528:Ljava/lang/String;official eLfky;e:Ljava/lang/String;
-
-
Constructor Details
-
ShaderType
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/gl/ShaderType;<init>(Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;)Vintermediary <init>Lnet/minecraft/class_282;<init>(Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;)Vofficial <init>Lfky;<init>(Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;)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
-
fromId
- Mappings:
Namespace Name Mixin selector named fromIdLnet/minecraft/client/gl/ShaderType;fromId(Lnet/minecraft/util/Identifier;)Lnet/minecraft/client/gl/ShaderType;intermediary method_62884Lnet/minecraft/class_282;method_62884(Lnet/minecraft/class_2960;)Lnet/minecraft/class_282;official aLfky;a(Lalk;)Lfky;
-
getName
- Mappings:
Namespace Name Mixin selector named getNameLnet/minecraft/client/gl/ShaderType;getName()Ljava/lang/String;intermediary method_1286Lnet/minecraft/class_282;method_1286()Ljava/lang/String;official aLfky;a()Ljava/lang/String;
-
createFinder
- Mappings:
Namespace Name Mixin selector named createFinderLnet/minecraft/client/gl/ShaderType;createFinder()Lnet/minecraft/resource/ResourceFinder;intermediary method_62885Lnet/minecraft/class_282;method_62885()Lnet/minecraft/class_7654;official bLfky;b()Lald;
-