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 fgg
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumWhether a vertex shader or a fragment shader. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()static CompiledShadercompile(Identifier id, CompiledShader.Type 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 aLfgg;a:I
-
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 bLfgg;b:Lalz;
-
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 cLfgg;c:I
-
-
Constructor Details
-
CompiledShader
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/gl/CompiledShader;<init>(ILnet/minecraft/util/Identifier;)Vintermediary <init>Lnet/minecraft/class_10141;<init>(ILnet/minecraft/class_2960;)Vofficial <init>Lfgg;<init>(ILalz;)V
-
-
Method Details
-
compile
public static CompiledShader compile(Identifier id, CompiledShader.Type 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/CompiledShader$Type;Ljava/lang/String;)Lnet/minecraft/client/gl/CompiledShader;intermediary method_62882Lnet/minecraft/class_10141;method_62882(Lnet/minecraft/class_2960;Lnet/minecraft/class_10141$class_282;Ljava/lang/String;)Lnet/minecraft/class_10141;official aLfgg;a(Lalz;Lfgg$a;Ljava/lang/String;)Lfgg;
-
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 aLfgg;a()Lalz;
-
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 bLfgg;b()I
-