Package com.mojang.blaze3d.opengl
Class GlShaderModule
java.lang.Object
com.mojang.blaze3d.opengl.GlShaderModule
- All Implemented Interfaces:
AutoCloseable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ResourceLocation
static final GlShaderModule
private static final int
private int
private final ShaderType
-
Constructor Summary
ConstructorsConstructorDescriptionGlShaderModule
(int p_410278_, ResourceLocation p_409685_, ShaderType p_409901_) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
static GlShaderModule
compile
(ResourceLocation p_409598_, ShaderType p_410122_, String p_410840_) getId()
int
-
Field Details
-
NOT_ALLOCATED
private static final int NOT_ALLOCATED- See Also:
-
INVALID_SHADER
-
id
-
shaderId
private int shaderId -
type
-
-
Constructor Details
-
GlShaderModule
-
-
Method Details
-
compile
public static GlShaderModule compile(ResourceLocation p_409598_, ShaderType p_410122_, String p_410840_) throws ShaderManager.CompilationException -
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-
getId
-
getShaderId
public int getShaderId() -
getDebugLabel
-