Package zombie.core.opengl
Class ShaderUnit
java.lang.Object
zombie.core.opengl.ShaderUnit
public final class ShaderUnit
extends java.lang.Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classShaderUnit.Type -
Constructor Summary
Constructors Constructor Description ShaderUnit(ShaderProgram shaderProgram, java.lang.String string, ShaderUnit.Type type) -
Method Summary
Modifier and Type Method Description booleanattach()booleancompile()voiddestroy()java.lang.StringgetFileName()intgetGLID()intgetParentShaderProgramGLID()booleanisCompiled()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ShaderUnit
-
-
Method Details
-
getFileName
public java.lang.String getFileName() -
isCompiled
public boolean isCompiled() -
compile
public boolean compile() -
attach
public boolean attach() -
destroy
public void destroy() -
getGLID
public int getGLID() -
getParentShaderProgramGLID
public int getParentShaderProgramGLID()
-