Package net.minecraft.client.gl
Class CompiledShader
java.lang.Object
net.minecraft.client.gl.CompiledShader
- All Implemented Interfaces:
AutoCloseable
- Mappings:
Namespace Name named net/minecraft/client/gl/CompiledShaderintermediary net/minecraft/class_10141official fjd
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final intprivate intprivate final Identifierstatic final CompiledShaderprivate final ShaderType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()static CompiledShadercompile(Identifier id, ShaderType type, String source) intgetId()
-
Field Details
-
CLOSED
private static final int CLOSED- See Also:
- Mappings:
Namespace Name Mixin selector named CLOSEDLnet/minecraft/client/gl/CompiledShader;CLOSED:Iintermediary field_53827Lnet/minecraft/class_10141;field_53827:Iofficial bLfjd;b:I
-
INVALID_SHADER
- Mappings:
Namespace Name Mixin selector named INVALID_SHADERLnet/minecraft/client/gl/CompiledShader;INVALID_SHADER:Lnet/minecraft/client/gl/CompiledShader;intermediary field_57880Lnet/minecraft/class_10141;field_57880:Lnet/minecraft/class_10141;official aLfjd;a:Lfjd;
-
id
- Mappings:
Namespace Name Mixin selector named idLnet/minecraft/client/gl/CompiledShader;id:Lnet/minecraft/util/Identifier;intermediary field_53828Lnet/minecraft/class_10141;field_53828:Lnet/minecraft/class_2960;official cLfjd;c:Lalk;
-
handle
private int handle- Mappings:
Namespace Name Mixin selector named handleLnet/minecraft/client/gl/CompiledShader;handle:Iintermediary field_53829Lnet/minecraft/class_10141;field_53829:Iofficial dLfjd;d:I
-
type
- Mappings:
Namespace Name Mixin selector named typeLnet/minecraft/client/gl/CompiledShader;type:Lnet/minecraft/client/gl/ShaderType;intermediary field_57881Lnet/minecraft/class_10141;field_57881:Lnet/minecraft/class_282;official eLfjd;e:Lfky;
-
-
Constructor Details
-
CompiledShader
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/gl/CompiledShader;<init>(ILnet/minecraft/util/Identifier;Lnet/minecraft/client/gl/ShaderType;)Vintermediary <init>Lnet/minecraft/class_10141;<init>(ILnet/minecraft/class_2960;Lnet/minecraft/class_282;)Vofficial <init>Lfjd;<init>(ILalk;Lfky;)V
-
-
Method Details
-
compile
public static CompiledShader compile(Identifier id, ShaderType type, String source) throws ShaderLoader.LoadException - Throws:
ShaderLoader.LoadException- Mappings:
Namespace Name Mixin selector named compileLnet/minecraft/client/gl/CompiledShader;compile(Lnet/minecraft/util/Identifier;Lnet/minecraft/client/gl/ShaderType;Ljava/lang/String;)Lnet/minecraft/client/gl/CompiledShader;intermediary method_62882Lnet/minecraft/class_10141;method_62882(Lnet/minecraft/class_2960;Lnet/minecraft/class_282;Ljava/lang/String;)Lnet/minecraft/class_10141;official aLfjd;a(Lalk;Lfky;Ljava/lang/String;)Lfjd;
-
close
public void close()- Specified by:
closein interfaceAutoCloseable
-
getId
- Mappings:
Namespace Name Mixin selector named getIdLnet/minecraft/client/gl/CompiledShader;getId()Lnet/minecraft/util/Identifier;intermediary method_62881Lnet/minecraft/class_10141;method_62881()Lnet/minecraft/class_2960;official aLfjd;a()Lalk;
-
getHandle
public int getHandle()- Mappings:
Namespace Name Mixin selector named getHandleLnet/minecraft/client/gl/CompiledShader;getHandle()Iintermediary method_62883Lnet/minecraft/class_10141;method_62883()Iofficial bLfjd;b()I
-
getDebugLabel
- Mappings:
Namespace Name Mixin selector named getDebugLabelLnet/minecraft/client/gl/CompiledShader;getDebugLabel()Ljava/lang/String;intermediary method_68423Lnet/minecraft/class_10141;method_68423()Ljava/lang/String;official cLfjd;c()Ljava/lang/String;
-