Class LodestoneProgram
java.lang.Object
team.lodestar.lodestone.systems.rendering.shader.LodestoneProgram
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionvoidattachToShader(com.mojang.blaze3d.shaders.Shader shader) voidclose()static LodestoneProgramcompileShader(LodestoneProgram.Type type, String name, InputStream shaderData, String sourceName, com.mojang.blaze3d.preprocessor.GlslPreprocessor preprocessor) protected static intcompileShaderInternal(LodestoneProgram.Type type, String name, InputStream shaderData, String sourceName, com.mojang.blaze3d.preprocessor.GlslPreprocessor preprocessor) protected intgetId()getName()
-
Method Details
-
attachToShader
public void attachToShader(com.mojang.blaze3d.shaders.Shader shader) -
close
public void close() -
getName
-
compileShader
public static LodestoneProgram compileShader(LodestoneProgram.Type type, String name, InputStream shaderData, String sourceName, com.mojang.blaze3d.preprocessor.GlslPreprocessor preprocessor) throws IOException - Throws:
IOException
-
compileShaderInternal
protected static int compileShaderInternal(LodestoneProgram.Type type, String name, InputStream shaderData, String sourceName, com.mojang.blaze3d.preprocessor.GlslPreprocessor preprocessor) throws IOException - Throws:
IOException
-
getId
protected int getId()
-