Package com.mojang.blaze3d.shaders
Class Program
java.lang.Object
com.mojang.blaze3d.shaders.Program
- Direct Known Subclasses:
 EffectProgram
- 
Nested Class Summary
Nested Classes - 
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate static final intprivate final Stringprivate final Program.Type - 
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedProgram(Program.Type p_85540_, int p_85541_, String p_85542_)  - 
Method Summary
Modifier and TypeMethodDescriptionvoidattachToShader(Shader p_166611_) voidclose()static ProgramcompileShader(Program.Type p_166605_, String p_166606_, InputStream p_166607_, String p_166608_, GlslPreprocessor p_166609_) protected static intcompileShaderInternal(Program.Type p_166613_, String p_166614_, InputStream p_166615_, String p_166616_, GlslPreprocessor p_166617_) protected intgetId()getName() 
- 
Field Details
- 
MAX_LOG_LENGTH
private static final int MAX_LOG_LENGTH- See Also:
 
 - 
type
 - 
name
 - 
id
private int id 
 - 
 - 
Constructor Details
- 
Program
 
 - 
 - 
Method Details
- 
attachToShader
 - 
close
public void close() - 
getName
 - 
compileShader
public static Program compileShader(Program.Type p_166605_, String p_166606_, InputStream p_166607_, String p_166608_, GlslPreprocessor p_166609_) throws IOException - Throws:
 IOException
 - 
compileShaderInternal
protected static int compileShaderInternal(Program.Type p_166613_, String p_166614_, InputStream p_166615_, String p_166616_, GlslPreprocessor p_166617_) throws IOException - Throws:
 IOException
 - 
getId
protected int getId() 
 -