Package com.mojang.blaze3d.shaders
Class CompiledShader
java.lang.Object
com.mojang.blaze3d.shaders.CompiledShader
- All Implemented Interfaces:
AutoCloseable
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ResourceLocation
private static final int
private int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
static CompiledShader
compile
(ResourceLocation p_366584_, CompiledShader.Type p_366740_, String p_366434_) getId()
int
-
Field Details
-
NOT_ALLOCATED
private static final int NOT_ALLOCATED- See Also:
-
id
-
shaderId
private int shaderId
-
-
Constructor Details
-
CompiledShader
-
-
Method Details
-
compile
public static CompiledShader compile(ResourceLocation p_366584_, CompiledShader.Type p_366740_, String p_366434_) throws ShaderManager.CompilationException -
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-
getId
-
getShaderId
public int getShaderId()
-