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