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 name)
-
Method Summary
Modifier and Type Method Description void
destroy()
void
End()
int
getID()
void
setTexture(Texture tex)
void
Start()
void
startMainThread(TextureDraw texd, int playerIndex)
void
updateParams(TextureDraw texd)
void
updateParamsSkin()
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 name)
-
-
Method Details
-
setTexture
-
getID
public int getID() -
Start
public void Start() -
End
public void End() -
updateParams
-
destroy
public void destroy() -
updateParamsSkin
public void updateParamsSkin() -
startMainThread
-