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$Type
intermediary net/minecraft/class_10141$class_282
official fgg$a
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final String
private final int
private final String
private static final CompiledShader.Type[]
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable CompiledShader.Type
fromId
(Identifier id) int
getName()
static CompiledShader.Type
Returns 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 VERTEX
Lnet/minecraft/client/gl/CompiledShader$Type;VERTEX:Lnet/minecraft/client/gl/CompiledShader$Type;
intermediary field_1530
Lnet/minecraft/class_10141$class_282;field_1530:Lnet/minecraft/class_10141$class_282;
official a
Lfgg$a;a:Lfgg$a;
-
FRAGMENT
- Mappings:
Namespace Name Mixin selector named FRAGMENT
Lnet/minecraft/client/gl/CompiledShader$Type;FRAGMENT:Lnet/minecraft/client/gl/CompiledShader$Type;
intermediary field_1531
Lnet/minecraft/class_10141$class_282;field_1531:Lnet/minecraft/class_10141$class_282;
official b
Lfgg$a;b:Lfgg$a;
-
-
Field Details
-
VALUES
- Mappings:
Namespace Name Mixin selector named VALUES
Lnet/minecraft/client/gl/CompiledShader$Type;VALUES:[Lnet/minecraft/client/gl/CompiledShader$Type;
intermediary field_53830
Lnet/minecraft/class_10141$class_282;field_53830:[Lnet/minecraft/class_10141$class_282;
official c
Lfgg$a;c:[Lfgg$a;
-
name
- Mappings:
Namespace Name Mixin selector named name
Lnet/minecraft/client/gl/CompiledShader$Type;name:Ljava/lang/String;
intermediary field_1526
Lnet/minecraft/class_10141$class_282;field_1526:Ljava/lang/String;
official d
Lfgg$a;d:Ljava/lang/String;
-
fileExtension
- Mappings:
Namespace Name Mixin selector named fileExtension
Lnet/minecraft/client/gl/CompiledShader$Type;fileExtension:Ljava/lang/String;
intermediary field_1528
Lnet/minecraft/class_10141$class_282;field_1528:Ljava/lang/String;
official e
Lfgg$a;e:Ljava/lang/String;
-
glType
private final int glType- Mappings:
Namespace Name Mixin selector named glType
Lnet/minecraft/client/gl/CompiledShader$Type;glType:I
intermediary field_1529
Lnet/minecraft/class_10141$class_282;field_1529:I
official f
Lfgg$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)V
intermediary <init>
Lnet/minecraft/class_10141$class_282;<init>(Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;I)V
official <init>
Lfgg$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 fromId
Lnet/minecraft/client/gl/CompiledShader$Type;fromId(Lnet/minecraft/util/Identifier;)Lnet/minecraft/client/gl/CompiledShader$Type;
intermediary method_62884
Lnet/minecraft/class_10141$class_282;method_62884(Lnet/minecraft/class_2960;)Lnet/minecraft/class_10141$class_282;
official a
Lfgg$a;a(Lalz;)Lfgg$a;
-
getName
- Mappings:
Namespace Name Mixin selector named getName
Lnet/minecraft/client/gl/CompiledShader$Type;getName()Ljava/lang/String;
intermediary method_1286
Lnet/minecraft/class_10141$class_282;method_1286()Ljava/lang/String;
official a
Lfgg$a;a()Ljava/lang/String;
-
getGlType
public int getGlType()- Mappings:
Namespace Name Mixin selector named getGlType
Lnet/minecraft/client/gl/CompiledShader$Type;getGlType()I
intermediary method_1287
Lnet/minecraft/class_10141$class_282;method_1287()I
official b
Lfgg$a;b()I
-
createFinder
- Mappings:
Namespace Name Mixin selector named createFinder
Lnet/minecraft/client/gl/CompiledShader$Type;createFinder()Lnet/minecraft/resource/ResourceFinder;
intermediary method_62885
Lnet/minecraft/class_10141$class_282;method_62885()Lnet/minecraft/class_7654;
official c
Lfgg$a;c()Lals;
-