Package net.minecraft.client.gl
Enum Program.Type
- All Implemented Interfaces:
Serializable,Comparable<Program.Type>,java.lang.constant.Constable
- Enclosing class:
- Program
@Environment(CLIENT) public static enum Program.Type extends Enum<Program.Type>
- Mappings:
Namespace Name official dov$aintermediary net/minecraft/class_281$class_282named net/minecraft/client/gl/Program$Type
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
-
Field Summary
Fields Modifier and Type Field Description private StringfileExtensionprivate intglTypeprivate Stringnameprivate Map<String,Program>programCache -
Constructor Summary
-
Method Summary
Modifier and Type Method Description StringgetFileExtension()private intgetGlType()StringgetName()Map<String,Program>getProgramCache()Gets a map of loaded shaders.static Program.TypevalueOf(String name)Returns the enum constant of this type with the specified name.static Program.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
VERTEX
- Mappings:
Namespace Name Mixin selector official aLdov$a;a:Ldov$a;intermediary field_1530Lnet/minecraft/class_281$class_282;field_1530:Lnet/minecraft/class_281$class_282;named VERTEXLnet/minecraft/client/gl/Program$Type;VERTEX:Lnet/minecraft/client/gl/Program$Type;
-
FRAGMENT
- Mappings:
Namespace Name Mixin selector official bLdov$a;b:Ldov$a;intermediary field_1531Lnet/minecraft/class_281$class_282;field_1531:Lnet/minecraft/class_281$class_282;named FRAGMENTLnet/minecraft/client/gl/Program$Type;FRAGMENT:Lnet/minecraft/client/gl/Program$Type;
-
-
Field Details
-
name
- Mappings:
Namespace Name Mixin selector official cLdov$a;c:Ljava/lang/String;intermediary field_1526Lnet/minecraft/class_281$class_282;field_1526:Ljava/lang/String;named nameLnet/minecraft/client/gl/Program$Type;name:Ljava/lang/String;
-
fileExtension
- Mappings:
Namespace Name Mixin selector official dLdov$a;d:Ljava/lang/String;intermediary field_1528Lnet/minecraft/class_281$class_282;field_1528:Ljava/lang/String;named fileExtensionLnet/minecraft/client/gl/Program$Type;fileExtension:Ljava/lang/String;
-
glType
private final int glType- Mappings:
Namespace Name Mixin selector official eLdov$a;e:Iintermediary field_1529Lnet/minecraft/class_281$class_282;field_1529:Inamed glTypeLnet/minecraft/client/gl/Program$Type;glType:I
-
programCache
- Mappings:
Namespace Name Mixin selector official fLdov$a;f:Ljava/util/Map;intermediary field_1527Lnet/minecraft/class_281$class_282;field_1527:Ljava/util/Map;named programCacheLnet/minecraft/client/gl/Program$Type;programCache:Ljava/util/Map;
-
-
Constructor Details
-
Type
- Mappings:
Namespace Name Mixin selector official <init>Ldov$a;<init>(Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;I)Vintermediary <init>Lnet/minecraft/class_281$class_282;<init>(Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;I)Vnamed <init>Lnet/minecraft/client/gl/Program$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 type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
getName
- Mappings:
Namespace Name Mixin selector official aLdov$a;a()Ljava/lang/String;intermediary method_1286Lnet/minecraft/class_281$class_282;method_1286()Ljava/lang/String;named getNameLnet/minecraft/client/gl/Program$Type;getName()Ljava/lang/String;
-
getFileExtension
- Mappings:
Namespace Name Mixin selector official bLdov$a;b()Ljava/lang/String;intermediary method_1284Lnet/minecraft/class_281$class_282;method_1284()Ljava/lang/String;named getFileExtensionLnet/minecraft/client/gl/Program$Type;getFileExtension()Ljava/lang/String;
-
getGlType
private int getGlType()- Mappings:
Namespace Name Mixin selector official dLdov$a;d()Iintermediary method_1287Lnet/minecraft/class_281$class_282;method_1287()Inamed getGlTypeLnet/minecraft/client/gl/Program$Type;getGlType()I
-
getProgramCache
Gets a map of loaded shaders.- Mappings:
Namespace Name Mixin selector official cLdov$a;c()Ljava/util/Map;intermediary method_1289Lnet/minecraft/class_281$class_282;method_1289()Ljava/util/Map;named getProgramCacheLnet/minecraft/client/gl/Program$Type;getProgramCache()Ljava/util/Map;
-