类 Program
java.lang.Object
com.mojang.blaze3d.shaders.Program
- 直接已知子类:
EffectProgram
-
嵌套类概要
嵌套类 -
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明void
attachToShader
(Shader pShader) void
close()
static Program
compileShader
(Program.Type pType, String pName, InputStream pShaderData, String pSourceName, GlslPreprocessor pPreprocessor) protected static int
compileShaderInternal
(Program.Type pType, String pName, InputStream pShaderData, String pSourceName, GlslPreprocessor pPreprocessor) protected int
getId()
getName()
-
字段详细资料
-
MAX_LOG_LENGTH
private static final int MAX_LOG_LENGTH- 另请参阅:
-
type
-
name
-
id
private int id
-
-
构造器详细资料
-
Program
-
-
方法详细资料
-
attachToShader
-
close
public void close() -
getName
-
compileShader
public static Program compileShader(Program.Type pType, String pName, InputStream pShaderData, String pSourceName, GlslPreprocessor pPreprocessor) throws IOException - 抛出:
IOException
-
compileShaderInternal
protected static int compileShaderInternal(Program.Type pType, String pName, InputStream pShaderData, String pSourceName, GlslPreprocessor pPreprocessor) throws IOException - 抛出:
IOException
-
getId
protected int getId()
-