Package com.mojang.blaze3d.shaders
Class Program
java.lang.Object
com.mojang.blaze3d.shaders.Program
- Direct Known Subclasses:
- EffectProgram
- 
Nested Class SummaryNested Classes
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate intprivate static final intprivate final Stringprivate final Program.Type
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedProgram(Program.Type p_85540_, int p_85541_, String p_85542_) 
- 
Method SummaryModifier 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_LENGTHprivate static final int MAX_LOG_LENGTH- See Also:
 
- 
type
- 
name
- 
idprivate int id
 
- 
- 
Constructor Details- 
Program
 
- 
- 
Method Details- 
attachToShader
- 
closepublic void close()
- 
getName
- 
compileShaderpublic static Program compileShader(Program.Type p_166605_, String p_166606_, InputStream p_166607_, String p_166608_, GlslPreprocessor p_166609_) throws IOException - Throws:
- IOException
 
- 
compileShaderInternalprotected static int compileShaderInternal(Program.Type p_166613_, String p_166614_, InputStream p_166615_, String p_166616_, GlslPreprocessor p_166617_) throws IOException - Throws:
- IOException
 
- 
getIdprotected int getId()
 
-