Package net.minecraft.client.gl
Enum Class CompiledShader.Type
- All Implemented Interfaces:
Serializable,Comparable<CompiledShader.Type>,Constable
- Enclosing class:
CompiledShader
Whether a vertex shader or a fragment shader.
- Mappings:
Namespace Name named net/minecraft/client/gl/CompiledShader$Typeintermediary net/minecraft/class_10141$class_282official fgh$a
-
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 intprivate final Stringprivate static final CompiledShader.Type[] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable CompiledShader.TypefromId(Identifier id) intgetName()static CompiledShader.TypeReturns the enum constant of this class with the specified name.static CompiledShader.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 named VERTEXLnet/minecraft/client/gl/CompiledShader$Type;VERTEX:Lnet/minecraft/client/gl/CompiledShader$Type;intermediary field_1530Lnet/minecraft/class_10141$class_282;field_1530:Lnet/minecraft/class_10141$class_282;official aLfgh$a;a:Lfgh$a;
-
FRAGMENT
- Mappings:
Namespace Name Mixin selector named FRAGMENTLnet/minecraft/client/gl/CompiledShader$Type;FRAGMENT:Lnet/minecraft/client/gl/CompiledShader$Type;intermediary field_1531Lnet/minecraft/class_10141$class_282;field_1531:Lnet/minecraft/class_10141$class_282;official bLfgh$a;b:Lfgh$a;
-
-
Field Details
-
VALUES
- Mappings:
Namespace Name Mixin selector named VALUESLnet/minecraft/client/gl/CompiledShader$Type;VALUES:[Lnet/minecraft/client/gl/CompiledShader$Type;intermediary field_53830Lnet/minecraft/class_10141$class_282;field_53830:[Lnet/minecraft/class_10141$class_282;official cLfgh$a;c:[Lfgh$a;
-
name
- Mappings:
Namespace Name Mixin selector named nameLnet/minecraft/client/gl/CompiledShader$Type;name:Ljava/lang/String;intermediary field_1526Lnet/minecraft/class_10141$class_282;field_1526:Ljava/lang/String;official dLfgh$a;d:Ljava/lang/String;
-
fileExtension
- Mappings:
Namespace Name Mixin selector named fileExtensionLnet/minecraft/client/gl/CompiledShader$Type;fileExtension:Ljava/lang/String;intermediary field_1528Lnet/minecraft/class_10141$class_282;field_1528:Ljava/lang/String;official eLfgh$a;e:Ljava/lang/String;
-
glType
private final int glType- Mappings:
Namespace Name Mixin selector named glTypeLnet/minecraft/client/gl/CompiledShader$Type;glType:Iintermediary field_1529Lnet/minecraft/class_10141$class_282;field_1529:Iofficial fLfgh$a;f:I
-
-
Constructor Details
-
Type
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/gl/CompiledShader$Type;<init>(Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;I)Vintermediary <init>Lnet/minecraft/class_10141$class_282;<init>(Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;I)Vofficial <init>Lfgh$a;<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
-
fromId
- Mappings:
Namespace Name Mixin selector named fromIdLnet/minecraft/client/gl/CompiledShader$Type;fromId(Lnet/minecraft/util/Identifier;)Lnet/minecraft/client/gl/CompiledShader$Type;intermediary method_62884Lnet/minecraft/class_10141$class_282;method_62884(Lnet/minecraft/class_2960;)Lnet/minecraft/class_10141$class_282;official aLfgh$a;a(Lalz;)Lfgh$a;
-
getName
- Mappings:
Namespace Name Mixin selector named getNameLnet/minecraft/client/gl/CompiledShader$Type;getName()Ljava/lang/String;intermediary method_1286Lnet/minecraft/class_10141$class_282;method_1286()Ljava/lang/String;official aLfgh$a;a()Ljava/lang/String;
-
getGlType
public int getGlType()- Mappings:
Namespace Name Mixin selector named getGlTypeLnet/minecraft/client/gl/CompiledShader$Type;getGlType()Iintermediary method_1287Lnet/minecraft/class_10141$class_282;method_1287()Iofficial bLfgh$a;b()I
-
createFinder
- Mappings:
Namespace Name Mixin selector named createFinderLnet/minecraft/client/gl/CompiledShader$Type;createFinder()Lnet/minecraft/resource/ResourceFinder;intermediary method_62885Lnet/minecraft/class_10141$class_282;method_62885()Lnet/minecraft/class_7654;official cLfgh$a;c()Lals;
-