Package zombie.core.opengl
Class Shader
java.lang.Object
zombie.core.opengl.Shader
public class Shader
extends java.lang.Object
-
Field Summary
-
Constructor Summary
Constructors Constructor Description Shader(java.lang.String string)
-
Method Summary
Modifier and Type Method Description void
destroy()
void
End()
int
getID()
void
setTexture(Texture texture)
void
Start()
void
startMainThread(TextureDraw textureDraw, int int1)
void
updateParams(TextureDraw textureDraw)
void
updateParamsSkin()
void
updateSkyBoxParams(TextureDraw textureDraw)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
ShaderMap
public static java.util.HashMap ShaderMap -
ShaderID
public int ShaderID -
FragID
public int FragID -
VertID
public int VertID -
tex
-
timeOfDay
public int timeOfDay -
width
public int width -
height
public int height -
timerVal
public int timerVal
-
-
Constructor Details
-
Shader
public Shader(java.lang.String string)
-
-
Method Details
-
setTexture
-
getID
public int getID() -
Start
public void Start() -
End
public void End() -
updateParams
-
updateSkyBoxParams
-
destroy
public void destroy() -
updateParamsSkin
public void updateParamsSkin() -
startMainThread
-