Package com.mojang.blaze3d.shaders
Class EffectProgram
java.lang.Object
com.mojang.blaze3d.shaders.Program
com.mojang.blaze3d.shaders.EffectProgram
-
Nested Class Summary
Nested classes/interfaces inherited from class com.mojang.blaze3d.shaders.Program
Program.Type -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidattachToEffect(Effect effect) voidclose()static EffectProgramcompileShader(Program.Type type, String name, InputStream shaderData, String sourceName) Methods inherited from class com.mojang.blaze3d.shaders.Program
attachToShader, compileShader, compileShaderInternal, getId, getName
-
Field Details
-
PREPROCESSOR
-
references
private int references
-
-
Constructor Details
-
EffectProgram
-
-
Method Details
-
attachToEffect
-
close
public void close() -
compileShader
public static EffectProgram compileShader(Program.Type type, String name, InputStream shaderData, String sourceName) throws IOException - Throws:
IOException
-