Package net.minecraft.client.gl
Enum Class ShaderStage.Type
- All Implemented Interfaces:
Serializable,Comparable<ShaderStage.Type>,Constable
- Enclosing class:
ShaderStage
Whether a vertex shader or a fragment shader.
- Mappings:
Namespace Name intermediary net/minecraft/class_281$class_282official ehp$anamed net/minecraft/client/gl/ShaderStage$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
FieldsModifier and TypeFieldDescriptionprivate final Stringprivate final intprivate final Map<String,ShaderStage> private final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) intReturns all loaded shaders of this type, keyed by their names.getName()static ShaderStage.TypeReturns the enum constant of this class with the specified name.static ShaderStage.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 intermediary field_1530Lnet/minecraft/class_281$class_282;field_1530:Lnet/minecraft/class_281$class_282;official aLehp$a;a:Lehp$a;named VERTEXLnet/minecraft/client/gl/ShaderStage$Type;VERTEX:Lnet/minecraft/client/gl/ShaderStage$Type;
-
FRAGMENT
- Mappings:
Namespace Name Mixin selector intermediary field_1531Lnet/minecraft/class_281$class_282;field_1531:Lnet/minecraft/class_281$class_282;official bLehp$a;b:Lehp$a;named FRAGMENTLnet/minecraft/client/gl/ShaderStage$Type;FRAGMENT:Lnet/minecraft/client/gl/ShaderStage$Type;
-
-
Field Details
-
name
- Mappings:
Namespace Name Mixin selector intermediary field_1526Lnet/minecraft/class_281$class_282;field_1526:Ljava/lang/String;official cLehp$a;c:Ljava/lang/String;named nameLnet/minecraft/client/gl/ShaderStage$Type;name:Ljava/lang/String;
-
fileExtension
- Mappings:
Namespace Name Mixin selector intermediary field_1528Lnet/minecraft/class_281$class_282;field_1528:Ljava/lang/String;official dLehp$a;d:Ljava/lang/String;named fileExtensionLnet/minecraft/client/gl/ShaderStage$Type;fileExtension:Ljava/lang/String;
-
glType
private final int glType- Mappings:
Namespace Name Mixin selector intermediary field_1529Lnet/minecraft/class_281$class_282;field_1529:Iofficial eLehp$a;e:Inamed glTypeLnet/minecraft/client/gl/ShaderStage$Type;glType:I
-
loadedShaders
- Mappings:
Namespace Name Mixin selector intermediary field_1527Lnet/minecraft/class_281$class_282;field_1527:Ljava/util/Map;official fLehp$a;f:Ljava/util/Map;named loadedShadersLnet/minecraft/client/gl/ShaderStage$Type;loadedShaders:Ljava/util/Map;
-
-
Constructor Details
-
Type
- Mappings:
Namespace Name Mixin selector intermediary <init>Lnet/minecraft/class_281$class_282;<init>(Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;I)Vofficial <init>Lehp$a;<init>(Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;I)Vnamed <init>Lnet/minecraft/client/gl/ShaderStage$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 intermediary method_1286Lnet/minecraft/class_281$class_282;method_1286()Ljava/lang/String;official aLehp$a;a()Ljava/lang/String;named getNameLnet/minecraft/client/gl/ShaderStage$Type;getName()Ljava/lang/String;
-
getFileExtension
- Mappings:
Namespace Name Mixin selector intermediary method_1284Lnet/minecraft/class_281$class_282;method_1284()Ljava/lang/String;official bLehp$a;b()Ljava/lang/String;named getFileExtensionLnet/minecraft/client/gl/ShaderStage$Type;getFileExtension()Ljava/lang/String;
-
getGlType
int getGlType()- Mappings:
Namespace Name Mixin selector intermediary method_1287Lnet/minecraft/class_281$class_282;method_1287()Iofficial dLehp$a;d()Inamed getGlTypeLnet/minecraft/client/gl/ShaderStage$Type;getGlType()I
-
getLoadedShaders
Returns all loaded shaders of this type, keyed by their names.- Returns:
- all loaded shaders of this type, keyed by their names
- Mappings:
Namespace Name Mixin selector intermediary method_1289Lnet/minecraft/class_281$class_282;method_1289()Ljava/util/Map;official cLehp$a;c()Ljava/util/Map;named getLoadedShadersLnet/minecraft/client/gl/ShaderStage$Type;getLoadedShaders()Ljava/util/Map;
-